From 58d9f2e98053fb9ed5ad80210d14d64b0af351b3 Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Thu, 16 Apr 2026 18:37:39 +0200 Subject: [PATCH] fix GetIdentifiers() --- src/TLuaEngine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TLuaEngine.cpp b/src/TLuaEngine.cpp index d5e89cf..c4ccda5 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[Pair.first] = Pair.second; + Result.add(Pair.first, Pair.second); } return Result; } else {