summaryrefslogtreecommitdiff
path: root/src/game/game_core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/game_core.cpp')
-rw-r--r--src/game/game_core.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/game_core.cpp b/src/game/game_core.cpp
index ac24853da..2816a6223 100644
--- a/src/game/game_core.cpp
+++ b/src/game/game_core.cpp
@@ -22,6 +22,7 @@
#include "game_scanner.hpp"
#include "game_config.hpp"
#include "game_instance.hpp"
+#include "game_info.hpp"
/* static */ uint Game::frame_counter = 0;
/* static */ GameInfo *Game::info = NULL;
@@ -29,6 +30,11 @@
/* static */ GameScannerInfo *Game::scanner_info = NULL;
/* static */ GameScannerLibrary *Game::scanner_library = NULL;
+/* static */ const char *Game::GetMainScript()
+{
+ return Game::info->GetMainScript();
+}
+
/* static */ void Game::GameLoop()
{
if (_networking && !_network_server) return;