]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Menu: force visible when not connected
authorTimePath <andrew.hardaker1995@gmail.com>
Fri, 25 Mar 2016 05:33:08 +0000 (16:33 +1100)
committerTimePath <andrew.hardaker1995@gmail.com>
Fri, 25 Mar 2016 05:33:08 +0000 (16:33 +1100)
qcsrc/menu/menu.qc

index e523a51937943b340b3e94f473c84e32b58753ae..b75a48ab7e0e37dcfbbec35098004757def43e78 100644 (file)
@@ -671,6 +671,7 @@ void m_tooltip(vector pos)
 
 void m_draw(float width, float height)
 {
+       if (clientstate() == CS_DISCONNECTED) m_toggle(true);
        m_gamestatus();
 
        execute_next_frame();