Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/client.cc')
-rw-r--r--src/client/client.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/client.cc b/src/client/client.cc
index ac4c0e3..ae4f232 100644
--- a/src/client/client.cc
+++ b/src/client/client.cc
@@ -206,7 +206,7 @@ void Client::frame(float seconds)
} else {
// show the main menu on non-interactive modules
if (!core::game()->interactive() && !ui::root()->active()) {
- ui::root()->show_window("main");
+ ui::root()->show_menu("main");
}
}
@@ -243,7 +243,7 @@ void Client::shutdown()
void Client::notify_connect()
{
- ui::root()->hide_window();
+ ui::root()->hide_menu();
}
void Client::notify_disconnect()