Suppress Mace Spawners in hardest skills.

This commit is contained in:
Mari the Deer 2021-10-06 00:23:42 +02:00
commit 78a3c3c6fa
2 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\chSWWM \czGZ\c- \cw1.1.15 \cu(Tue 5 Oct 19:39:50 CEST 2021)\c-";
SWWM_SHORTVER="\cw1.1.15 \cu(2021-10-05 19:39:50)\c-";
SWWM_MODVER="\chSWWM \czGZ\c- \cw1.1.15 \cu(Wed 6 Oct 00:23:42 CEST 2021)\c-";
SWWM_SHORTVER="\cw1.1.15 \cu(2021-10-06 00:23:42)\c-";

View file

@ -205,7 +205,7 @@ extend Class SWWMHandler
if ( !G_SkillPropertyInt(SKILLP_SpawnMulti) || multiplayer || sv_alwaysspawnmulti )
return false;
// is it coop inventory? suppress it
if ( (e.Thing.spawnflags&(MTF_COOPERATIVE|MTF_DEATHMATCH)) && !(e.Thing.spawnflags&MTF_SINGLE) && (e.Thing is 'Inventory') )
if ( (e.Thing.spawnflags&(MTF_COOPERATIVE|MTF_DEATHMATCH)) && !(e.Thing.spawnflags&MTF_SINGLE) && ((e.Thing is 'Inventory') || (e.Thing is 'MaceSpawner')) )
{
e.Thing.ClearCounters();
e.Thing.Destroy();