diff options
| -rw-r--r-- | engines/hdb/hdb.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp index 282cd81a63..15263f3ff8 100644 --- a/engines/hdb/hdb.cpp +++ b/engines/hdb/hdb.cpp @@ -67,6 +67,10 @@ bool HDBGame::init() { error("FileMan::openMPC: Cannot find the hyperspace.mpc data file."); return false; } + if (!lua->init()) { + error("LuaScript::init: Couldn't load the GLOBAL_LUA code."); + return false; + } gameShutdown = false; _systemInit = true; |
