Lua/LuaState: Fix Execute not being able to return values
This commit is contained in:
@@ -373,7 +373,7 @@ namespace Nz
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return Run(0, 0);
|
return Run(0, LUA_MULTRET);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool LuaState::ExecuteFromFile(const String& filePath)
|
bool LuaState::ExecuteFromFile(const String& filePath)
|
||||||
@@ -419,7 +419,7 @@ namespace Nz
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return Run(0, 0);
|
return Run(0, LUA_MULTRET);
|
||||||
}
|
}
|
||||||
|
|
||||||
int LuaState::GetAbsIndex(int index) const
|
int LuaState::GetAbsIndex(int index) const
|
||||||
|
|||||||
Reference in New Issue
Block a user