X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Ftriggers%2Ftrigger%2Fmulti.qc;h=950a69d1d0d92bae02338dbf1baab0925fccd10a;hb=refs%2Fheads%2FTimePath%2FTEAMNUMBERS_THAT_ARENT_STUPID;hp=b9d3aeb96e9081a7eab274bfb5cc535896c55088;hpb=eb8cefbe0dbb3216366fa204a9871d6c164aba53;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/triggers/trigger/multi.qc b/qcsrc/common/triggers/trigger/multi.qc index b9d3aeb96..950a69d1d 100644 --- a/qcsrc/common/triggers/trigger/multi.qc +++ b/qcsrc/common/triggers/trigger/multi.qc @@ -127,7 +127,7 @@ void multi_reset(entity this) } this.think = func_null; this.nextthink = 0; - this.team = this.team_saved; + setteam(this, this.team_saved); } /*QUAKED spawnfunc_trigger_multiple (.5 .5 .5) ? notouch @@ -164,7 +164,7 @@ spawnfunc(trigger_multiple) EXACTTRIGGER_INIT; - self.team_saved = self.team; + self.team_saved = TMID(self.team); if (self.health) {