diff --git a/language.version b/language.version index b40f22d51..ca084fddb 100644 --- a/language.version +++ b/language.version @@ -1,3 +1,3 @@ [default] -SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r422 \cu(Fri 9 Sep 12:47:11 CEST 2022)\c-"; -SWWM_SHORTVER="\cw1.3pre r422 \cu(2022-09-09 12:47:11)\c-"; +SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r423 \cu(Fri 9 Sep 14:02:41 CEST 2022)\c-"; +SWWM_SHORTVER="\cw1.3pre r423 \cu(2022-09-09 14:02:41)\c-"; diff --git a/zscript/dlc1/swwm_notashotgun_fx.zsc b/zscript/dlc1/swwm_notashotgun_fx.zsc index 43c768e7e..a0eccf18f 100644 --- a/zscript/dlc1/swwm_notashotgun_fx.zsc +++ b/zscript/dlc1/swwm_notashotgun_fx.zsc @@ -1038,7 +1038,7 @@ Class OnFire : Inventory return; } // damage nearby actors - SWWMUtility.DoExplosion(Owner,amount,0,Owner.radius+40+amount/5,Owner.radius+20,DE_NOBLEED|DE_NOSPLASH|DE_HOWL|DE_CENTERHEIGHT|DE_NONEXPLOSIVE,'Fire',null,DMG_THRUSTLESS,instigator,self); + if ( amount > 0 ) SWWMUtility.DoExplosion(Owner,amount,0,Owner.radius+40+amount/5,Owner.radius+20,DE_NOBLEED|DE_NOSPLASH|DE_HOWL|DE_CENTERHEIGHT|DE_NONEXPLOSIVE,'Fire',null,DMG_THRUSTLESS,instigator,self); } double mult = max(Owner.radius,Owner.height)/30.; if ( lite ) lite.A_SoundVolume(CHAN_VOICE,min(1.,mult*amount/80.)); @@ -1066,7 +1066,6 @@ Class OnFire : Inventory static OnFire Apply( Actor victim, Actor instigator, int amount ) { - if ( amount <= 0 ) return null; let t = OnFire(victim.FindInventory("OnFire")); if ( t ) {