]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/trigger/multi.qc
Teams: setteam
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / trigger / multi.qc
index b9d3aeb96e9081a7eab274bfb5cc535896c55088..950a69d1d0d92bae02338dbf1baab0925fccd10a 100644 (file)
@@ -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)
        {