From 03f77ed25feff438ab486db6276ebb0d4f3cdb64 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 2 Jul 2016 10:22:39 +1000 Subject: [PATCH] Hacky fix for TDM crashing --- qcsrc/server/mutators/mutator/gamemode_tdm.qc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qcsrc/server/mutators/mutator/gamemode_tdm.qc b/qcsrc/server/mutators/mutator/gamemode_tdm.qc index 787412908..0d516b262 100644 --- a/qcsrc/server/mutators/mutator/gamemode_tdm.qc +++ b/qcsrc/server/mutators/mutator/gamemode_tdm.qc @@ -60,11 +60,12 @@ spawnfunc(tdm_team) // code from here on is just to support maps that don't have team entities void tdm_SpawnTeam (string teamname, float teamcolor) { - entity this = new(tdm_team); + entity this = new_pure(tdm_team); this.netname = teamname; this.cnt = teamcolor; + this.team = this.cnt + 1; this.spawnfunc_checked = true; - spawnfunc_tdm_team(this); + //spawnfunc_tdm_team(this); } void tdm_DelayedInit(entity this) -- 2.39.2