From: Mario Date: Fri, 30 Sep 2022 09:10:41 +0000 (+1000) Subject: Fix support for Clan Arena and Key Hunt in Q3 maps X-Git-Tag: xonotic-v0.8.6~328^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=106e97a9c598c42290fa605937954b44e013ecf0;p=xonotic%2Fxonotic-data.pk3dir.git Fix support for Clan Arena and Key Hunt in Q3 maps --- diff --git a/qcsrc/common/mapinfo.qc b/qcsrc/common/mapinfo.qc index 24d7f4dfa..ca90f2f33 100644 --- a/qcsrc/common/mapinfo.qc +++ b/qcsrc/common/mapinfo.qc @@ -906,7 +906,7 @@ bool _MapInfo_ParseArena(string arena_filename, int fh, string pFilename, Gamety string types = s; types = strreplace("team", "tdm ft", types); types = strreplace("ffa", "dm lms ka", types); - if(strstrofs(s, "tournament", 0) < 0 && strstrofs(s, "tdm", 0) >= 0) // larger team map, support additional gamemodes! + if(strstrofs(types, "tournament", 0) < 0 && strstrofs(types, "tdm", 0) >= 0) // larger team map, support additional gamemodes! types = cons(types, "ca kh"); FOREACH_WORD(types, true, {