diff --git a/wadsrc/static/zscript/inventory/stateprovider.txt b/wadsrc/static/zscript/inventory/stateprovider.txt index 5e1b715ba..f8c1b1036 100644 --- a/wadsrc/static/zscript/inventory/stateprovider.txt +++ b/wadsrc/static/zscript/inventory/stateprovider.txt @@ -10,7 +10,7 @@ class StateProvider : Inventory action state A_JumpIfNoAmmo(statelabel label) { if (stateinfo == null || stateinfo.mStateType != STATE_Psprite || player == null || player.ReadyWeapon == null || - !player.ReadyWeapon.CheckAmmo(player.ReadyWeapon.bAltFire, false, true)) + player.ReadyWeapon.CheckAmmo(player.ReadyWeapon.bAltFire, false, true)) { return null; }