mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-10 21:03:31 +00:00
HDB: Fix game restarting
This commit is contained in:
parent
7b07d2f88c
commit
b96049a236
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user