From: Rudolf Polzer Date: Sat, 17 May 2014 08:42:09 +0000 (+0200) Subject: As agreed on poll #246, drop race game type from the menu. X-Git-Tag: xonotic-v0.8.0~216 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=75166d043e3139040689e85e063199e94fed2a92;p=xonotic%2Fxonotic-data.pk3dir.git As agreed on poll #246, drop race game type from the menu. To activate it, either use the cvars manually, or do developer 1 menu_restart --- diff --git a/qcsrc/menu/xonotic/util.qc b/qcsrc/menu/xonotic/util.qc index f06866ccf..ff50c902d 100644 --- a/qcsrc/menu/xonotic/util.qc +++ b/qcsrc/menu/xonotic/util.qc @@ -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) \