X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fgamemodes%2Fgamemode%2Fassault%2Fsv_assault.qh;h=3709bdff9386541b042fd1693249e59b521e3ca6;hb=6a501068766094b93c1d14663caf4895f2e9c446;hp=fcfc78917f8239f64f2d72c3eee62ee5ed8511a3;hpb=d44927502027bfa3ccd6ccc98d9b7d6285c182c3;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/gamemodes/gamemode/assault/sv_assault.qh b/qcsrc/common/gamemodes/gamemode/assault/sv_assault.qh index fcfc78917..3709bdff9 100644 --- a/qcsrc/common/gamemodes/gamemode/assault/sv_assault.qh +++ b/qcsrc/common/gamemodes/gamemode/assault/sv_assault.qh @@ -7,11 +7,18 @@ const int ASSAULT_VALUE_INACTIVE = 1000; const int ST_ASSAULT_OBJECTIVES = 1; +IntrusiveList g_assault_destructibles; +IntrusiveList g_assault_objectivedecreasers; +IntrusiveList g_assault_objectives; + REGISTER_MUTATOR(as, false) { MUTATOR_STATIC(); MUTATOR_ONADD { + g_assault_destructibles = IL_NEW(); + g_assault_objectivedecreasers = IL_NEW(); + g_assault_objectives = IL_NEW(); GameRules_teams(true); int teams = BITS(2); // always red vs blue GameRules_scoring(teams, SFL_SORT_PRIO_SECONDARY, SFL_SORT_PRIO_SECONDARY, {