From: sajt Date: Sun, 12 Mar 2006 02:36:58 +0000 (+0000) Subject: Fix in Nexuiz's fallback menu to avoid ending up with a blank screen X-Git-Tag: xonotic-v0.1.0preview~4207 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4f72e23b6f39b43715dd1ab4b1aae96349fb8022;p=xonotic%2Fdarkplaces.git Fix in Nexuiz's fallback menu to avoid ending up with a blank screen git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6111 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/menu.c b/menu.c index 8e1fe508..8da41f52 100644 --- a/menu.c +++ b/menu.c @@ -692,8 +692,11 @@ void M_Main_Key (int key, char ascii) switch (m_main_cursor) { case 0: - m_state = m_none; - key_dest = key_game; + if (cls.state == ca_connected) + { + m_state = m_none; + key_dest = key_game; + } Con_ToggleConsole_f (); break; case 1: