HDB: Fix game restarting

This commit is contained in:
Eugene Sandulenko 2019-07-19 22:54:51 +02:00
parent 7b07d2f88c
commit b96049a236

View File

@ -1804,7 +1804,7 @@ bool LuaScript::initScript(Common::SeekableReadStream *stream, const char *scrip
}
// Load GLOBAL.LUA and execute it
_globalLuaStream->seek(0); // Make sure we start from the beginning
if (!executeMPC(_globalLuaStream, "global code", "GLOBAL.LUA", _globalLuaLength)) {
error("LuaScript::initScript: 'global code' failed to execute");
return false;