]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
As agreed on poll #246, drop race game type from the menu.
authorRudolf Polzer <divverent@xonotic.org>
Sat, 17 May 2014 08:42:09 +0000 (10:42 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Sat, 17 May 2014 08:42:09 +0000 (10:42 +0200)
To activate it, either use the cvars manually, or do

developer 1
menu_restart

qcsrc/menu/xonotic/util.qc

index f06866ccffdd64ebd7a2b84ea4efc993824010fc..ff50c902da1a40082d34dab0fa4015aec4369190 100644 (file)
@@ -656,7 +656,7 @@ float updateCompression()
        GAMETYPE(MAPINFO_TYPE_LMS) \
        GAMETYPE(MAPINFO_TYPE_NEXBALL) \
        GAMETYPE(MAPINFO_TYPE_ONSLAUGHT) \
-       GAMETYPE(MAPINFO_TYPE_RACE) \
+       if (cvar("developer")) GAMETYPE(MAPINFO_TYPE_RACE) \
        GAMETYPE(MAPINFO_TYPE_CTS) \
        GAMETYPE(MAPINFO_TYPE_TEAM_DEATHMATCH) \
        //GAMETYPE(MAPINFO_TYPE_INVASION) \