]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/menu.qh
Don't allow opening scoreboard UI / team selection in demos
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / menu.qh
index 239c66152e9dcca17a6af58583266968c0c5d267..2df331950848c1dcdab9c53b63d9ebd553a3cb9a 100644 (file)
@@ -15,12 +15,6 @@ const int GAME_DEVELOPER    = BIT(2);
 bool Menu_Active;
 int gamestatus;
 
-// resets g_campaign and updates menu items to reflect cvar values that may have been restored after leaving the campaign
-// the delay is for allowing listening to the button sound (if enabled), since the disconnect command stops all sounds
-// menu_sync is also useful when quitting Instant Action mode
-// see also m_draw
-const string QUITGAME_CMD = "defer 0.4 disconnect; defer 0.4 wait; defer 0.4 \"g_campaign 0\"; defer 0.4 menu_sync\n";
-
 const int S_SHIFT = 1;
 const int S_CTRL = 2;
 const int S_ALT = 4;