mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-07-12 17:54:04 +00:00
fix GetIdentifiers building the wrong kind of table
This commit is contained in:
+1
-1
@@ -572,7 +572,7 @@ sol::table TLuaEngine::StateThreadData::Lua_GetPlayerIdentifiers(int ID) {
|
||||
}
|
||||
sol::table Result = mStateView.create_table();
|
||||
for (const auto& Pair : IDs) {
|
||||
Result.add(Pair.first, Pair.second);
|
||||
Result.set(Pair.first, Pair.second)
|
||||
}
|
||||
return Result;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user