From: Mario Date: Tue, 14 Jan 2020 16:53:28 +0000 (+1000) Subject: Add Freeze Tag to the list of gamemodes that don't require weapons on the map X-Git-Tag: xonotic-v0.8.5~1105^2~10 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a1ff3aebf8a1655be109ded4001db9bd86a78264;p=xonotic%2Fxonotic-data.pk3dir.git Add Freeze Tag to the list of gamemodes that don't require weapons on the map --- diff --git a/qcsrc/common/mapinfo.qc b/qcsrc/common/mapinfo.qc index 64ab8daca..257e5e40f 100644 --- a/qcsrc/common/mapinfo.qc +++ b/qcsrc/common/mapinfo.qc @@ -1142,7 +1142,8 @@ int MapInfo_CurrentFeatures() { int req = 0; // TODO: find a better way to check if weapons are required on the map - if(!(cvar("g_lms") || cvar("g_instagib") || cvar("g_overkill") || cvar("g_nix") || cvar("g_weaponarena") || !cvar("g_pickup_items") || cvar("g_race") || cvar("g_cts") || cvar("g_nexball") || cvar("g_ca"))) + if(!(cvar("g_instagib") || cvar("g_overkill") || cvar("g_nix") || cvar("g_weaponarena") || !cvar("g_pickup_items") + || cvar("g_race") || cvar("g_cts") || cvar("g_nexball") || cvar("g_ca") || cvar("g_freezetag") || cvar("g_lms"))) req |= MAPINFO_FEATURE_WEAPONS; return req; }