From 2182933986afd7e17cf9072d8f2e3333fa110cd4 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 8 Nov 2008 10:59:47 +0000 Subject: docking, join menu --- src/client/client.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/client/client.cc') diff --git a/src/client/client.cc b/src/client/client.cc index 4f6b878..823a384 100644 --- a/src/client/client.cc +++ b/src/client/client.cc @@ -212,6 +212,10 @@ void Client::frame(unsigned long timestamp) if (!core::game()->interactive() && !ui::root()->active()) { ui::root()->show_menu("main"); } + + if (core::game()->interactive() && !ui::root()->active() && !core::localcontrol()) { + ui::root()->show_menu("join"); + } } video::frame((float)(timestamp - previous_timestamp) / 1000.0f); -- cgit v1.2.3