From: Rudolf Polzer Date: Mon, 12 Mar 2012 16:32:07 +0000 (+0100) Subject: try to restore old menu status X-Git-Tag: xonotic-v0.7.0~354 X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=4aa545c4f63e4d388349eea4c2e2b453d22f29c9;p=xonotic%2Fxonotic-data.pk3dir.git try to restore old menu status --- diff --git a/qcsrc/menu/xonotic/util.qc b/qcsrc/menu/xonotic/util.qc index e733b7460..3a73e2264 100644 --- a/qcsrc/menu/xonotic/util.qc +++ b/qcsrc/menu/xonotic/util.qc @@ -448,7 +448,7 @@ void preMenuDraw() if(_Nex_ExtResponseSystem_PacksStep > 0) { - float n; + float n, i; float allgood; n = tokenize_console(_Nex_ExtResponseSystem_Packs); allgood = TRUE; @@ -463,7 +463,12 @@ void preMenuDraw() if(allgood) { if(_Nex_ExtResponseSystem_PacksStep == 2) + { + if(!Menu_Active) + cvar_set("_menu_initialized", "0"); + // HACK: cause m_hide call on next start localcmd("\nmenu_restart\n"); + } _Nex_ExtResponseSystem_PacksStep = 0; } else