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/entitymenu.cc')
-rw-r--r--src/client/entitymenu.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/entitymenu.cc b/src/client/entitymenu.cc
index ee1d373..f9a5edc 100644
--- a/src/client/entitymenu.cc
+++ b/src/client/entitymenu.cc
@@ -6,6 +6,7 @@
#include "client/entitymenu.h"
+#include "client/client.h"
#include "ui/ui.h"
#include "ui/paint.h"
@@ -171,7 +172,7 @@ bool EntityMenu::on_keypress(const int key, const unsigned int modifier)
generate(menu_generated_entity, "main");
} else {
this->hide();
- ui::root()->show_menu("game");
+ Client::show_menu("game");
}
return true;
}