From 4bb7232a4168fe8efd900f241cb4d5b254c60318 Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Thu, 16 Apr 2026 18:44:33 +0200 Subject: [PATCH] fix GetIdentifiers building the wrong kind of table --- src/TLuaEngine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TLuaEngine.cpp b/src/TLuaEngine.cpp index c4ccda5..cd3562a 100644 --- a/src/TLuaEngine.cpp +++ b/src/TLuaEngine.cpp @@ -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 {