]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add Freeze Tag to the list of gamemodes that don't require weapons on the map
authorMario <mario.mario@y7mail.com>
Tue, 14 Jan 2020 16:53:28 +0000 (02:53 +1000)
committerMario <mario.mario@y7mail.com>
Tue, 14 Jan 2020 16:53:28 +0000 (02:53 +1000)
qcsrc/common/mapinfo.qc

index 64ab8dacaafa1c5f1748765566f7d00ef56bc90c..257e5e40f185ddc0bf254b9dc11d926258365cc2 100644 (file)
@@ -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;
 }