fix GetIdentifiers building the wrong kind of table

This commit is contained in:
Lion Kortlepel
2026-04-16 18:44:33 +02:00
parent 58d9f2e980
commit 4bb7232a41
+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 {