diff --git a/Readme.md b/Readme.md index f7fc4dd..0942e97 100644 --- a/Readme.md +++ b/Readme.md @@ -72,7 +72,7 @@ This mod requires GZDoom 4.3 or later, and runs on top of Doom Tournament. ## In progress - - N/A, this is the 1.1.3 release. + - N/A, this is the 1.1.4 release. ## Planned diff --git a/zscript/stunner.zsc b/zscript/stunner.zsc index 60c8261..5d99344 100644 --- a/zscript/stunner.zsc +++ b/zscript/stunner.zsc @@ -13,6 +13,7 @@ Class StunnerAmmo : Ammo override void DoEffect() { Super.DoEffect(); + if ( !Owner.player || !(Owner.player.ReadyWeapon is 'Stunner') ) return; // don't recharge if we don't have a stunner out if ( rechargespeed <= 0. ) rechargespeed = 2.; rechargephase += 1./rechargespeed; if ( rechargephase < 7 ) return;