From 86a030f5ba6b51c42a20c930ba07470baf12221c Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Mon, 3 Aug 2015 20:27:18 +0200 Subject: [PATCH] Set the teamplay cvar because DP needs it. --- qcsrc/server/teamplay.qc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)) { -- 2.39.2