From: Rudolf Polzer Date: Mon, 3 Aug 2015 18:27:18 +0000 (+0200) Subject: Set the teamplay cvar because DP needs it. X-Git-Tag: xonotic-v0.8.1~24 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=86a030f5ba6b51c42a20c930ba07470baf12221c;p=xonotic%2Fxonotic-data.pk3dir.git Set the teamplay cvar because DP needs it. --- diff --git a/qcsrc/server/teamplay.qc b/qcsrc/server/teamplay.qc index 7bd44fec8..ec6f5afc3 100644 --- a/qcsrc/server/teamplay.qc +++ b/qcsrc/server/teamplay.qc @@ -41,6 +41,7 @@ void ActivateTeamplay() { serverflags |= SERVERFLAG_TEAMPLAY; teamplay = 1; + cvar_set("teamplay", "2"); // DP needs this for sending proper getstatus replies. } void InitGameplayMode() @@ -57,8 +58,9 @@ void InitGameplayMode() world.maxs = mi_max; MapInfo_LoadMapSettings(mapname); - teamplay = 0; serverflags &= ~SERVERFLAG_TEAMPLAY; + teamplay = 0; + cvar_set("teamplay", "0"); // DP needs this for sending proper getstatus replies. if (!cvar_value_issafe(world.fog)) {