fix GetIdentifiers building the wrong kind of table

This commit is contained in:
Lion Kortlepel committed 2026-04-19 18:17:54 +00:00
1 parent 58d9f2e980
commit 4bb7232a41
1 file changed
+1 -1
+1 -1
View File
@@ -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 {