From e61f3f53448f863640e6ff12426b3ae1bc2cb874 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 14 Jul 2020 06:39:23 +1000 Subject: [PATCH] Fix survival using g_duel_not_dm_maps to check if it should be supported --- qcsrc/common/mapinfo.qh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.2