aboutsummaryrefslogtreecommitdiff
path: root/src/gui/cheatMenu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/cheatMenu.h')
-rw-r--r--src/gui/cheatMenu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/cheatMenu.h b/src/gui/cheatMenu.h
index e7fb4dc93..e42edfbb0 100644
--- a/src/gui/cheatMenu.h
+++ b/src/gui/cheatMenu.h
@@ -42,6 +42,11 @@ class CheatMenu
public:
CheatMenu(Client *client);
+ Client* getScript()
+ {
+ return m_client->getScript();
+ }
+
void draw(video::IVideoDriver *driver, bool show_debug);
void drawEntry(video::IVideoDriver *driver, std::string name,