Skip to content

Commit

Permalink
Update Flammenwerfer.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Acid-Citric authored Dec 3, 2024
1 parent ec7e64a commit 3ce956f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ZScript/Weapons/Flammenwerfer.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,11 @@ Class Flammenwerfer : AxisWeapon
Ready:
WP6H A 1
{
If(WaterLevel == 0 && CountInv(Invoker.Ammo1.GetClass()) && Invoker.Empty == False) { return ResolveState("ReadyLoop"); }
Else If(WaterLevel == 0 && !CountInv(Invoker.Ammo1.GetClass())) { Invoker.Empty = True; }
If(WaterLevel == 0)
{
If(CountInv(Invoker.Ammo1.GetClass()) && Invoker.Empty == False) { return ResolveState("ReadyLoop"); }
Else If(!CountInv(Invoker.Ammo1.GetClass())) { Invoker.Empty = True; }
}
A_WeaponReady(WRF_NOFIRE|WRF_ALLOWRELOAD);
return A_JumpIf((CountInv(Invoker.Ammo1.GetClass()) && Invoker.Empty == False), "ReadyLoop");
}
Expand Down

0 comments on commit 3ce956f

Please sign in to comment.