summaryrefslogtreecommitdiff
path: root/src/game/game.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r--src/game/game.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp
index 9e13bc5b6..50d97b50c 100644
--- a/src/game/game.hpp
+++ b/src/game/game.hpp
@@ -91,6 +91,11 @@ public:
*/
static class GameInstance *GetInstance() { return Game::instance; }
+ /**
+ * Get the current active mainscript.
+ */
+ static const char *GetMainScript();
+
#if defined(ENABLE_NETWORK)
/** Wrapper function for GameScanner::HasGame */
static bool HasGame(const struct ContentInfo *ci, bool md5sum);