Lua/LuaState: Fix Execute not being able to return values

This commit is contained in:
Lynix 2017-06-28 23:22:50 +02:00
parent 2ca844be63
commit 67dbb9e7c8
1 changed files with 2 additions and 2 deletions

View File

@ -373,7 +373,7 @@ namespace Nz
return false;
}
return Run(0, 0);
return Run(0, LUA_MULTRET);
}
bool LuaState::ExecuteFromFile(const String& filePath)
@ -419,7 +419,7 @@ namespace Nz
return false;
}
return Run(0, 0);
return Run(0, LUA_MULTRET);
}
int LuaState::GetAbsIndex(int index) const