From: Mario Date: Mon, 13 Jul 2020 20:39:23 +0000 (+1000) Subject: Fix survival using g_duel_not_dm_maps to check if it should be supported X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e61f3f53448f863640e6ff12426b3ae1bc2cb874;p=xonotic%2Fxonotic-data.pk3dir.git Fix survival using g_duel_not_dm_maps to check if it should be supported --- diff --git a/qcsrc/common/mapinfo.qh b/qcsrc/common/mapinfo.qh index c1fff6350..0314eb0cc 100644 --- a/qcsrc/common/mapinfo.qh +++ b/qcsrc/common/mapinfo.qh @@ -622,7 +622,7 @@ CLASS(Survival, Gametype) } METHOD(Survival, m_isForcedSupported, bool(Gametype this)) { - if(!cvar("g_duel_not_dm_maps")) + if(!cvar("g_survival_not_dm_maps")) { // if this is set, all DM maps support Survival too if(!(MapInfo_Map_supportedGametypes & this.m_flags) && (MapInfo_Map_supportedGametypes & MAPINFO_TYPE_DEATHMATCH.m_flags))