mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
HDB: Fix loading Lua scripts
This commit is contained in:
parent
a745d45f38
commit
2c40e1ae36
@ -1706,9 +1706,8 @@ void debugHook(lua_State *L, lua_Debug *ar) {
|
||||
}
|
||||
|
||||
bool LuaScript::initScript(Common::SeekableReadStream *stream, const char *scriptName, int32 length) {
|
||||
|
||||
if (_systemInit) {
|
||||
return false;
|
||||
lua_close(_state);
|
||||
}
|
||||
|
||||
// Initialize Lua Environment
|
||||
|
Loading…
Reference in New Issue
Block a user