diff --git a/language.version b/language.version index 030b0f831..b1a198775 100644 --- a/language.version +++ b/language.version @@ -1,3 +1,3 @@ [default] -SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r390 \cu(Wed 31 Aug 01:28:59 CEST 2022)\c-"; -SWWM_SHORTVER="\cw1.3pre r390 \cu(2022-08-31 01:28:59)\c-"; +SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r391 \cu(Wed 31 Aug 10:07:48 CEST 2022)\c-"; +SWWM_SHORTVER="\cw1.3pre r391 \cu(2022-08-31 10:07:48)\c-"; diff --git a/zscript/dlc1/swwm_heavymahsheengun.zsc b/zscript/dlc1/swwm_heavymahsheengun.zsc index 52844688d..ef30fb77a 100644 --- a/zscript/dlc1/swwm_heavymahsheengun.zsc +++ b/zscript/dlc1/swwm_heavymahsheengun.zsc @@ -9,6 +9,7 @@ Class HeavyMahSheenGun : SWWMWeapon bool incooldown, stopfire, firstshot; int firetimer, shotcnt; int tcol; // for random + bool initialized; transient ui SmoothDynamicValueInterpolator HeatInter; transient SpreadSlugTracer st; @@ -294,6 +295,15 @@ Class HeavyMahSheenGun : SWWMWeapon } return Super.CheckAmmo(firemode,autoswitch,requireammo,ammocount); } + override void AttachToOwner( Actor other ) + { + if ( !initialized ) + { + initialized = true; + firespeed = 1; // default to 700 RPM + } + Super.AttachToOwner(other); + } Default {