Fixed update when Health Panel is open for remote pl

This commit is contained in:
ZioPao
2024-03-22 15:52:34 +01:00
parent feab41ac5c
commit 00b1b78cb3
4 changed files with 29 additions and 7 deletions

View File

@@ -21,6 +21,8 @@ function ServerDataHandler.AddTable(key, table)
if not luautils.stringStarts(key, StaticData.MOD_NAME .. "_") then return end
TOC_DEBUG.print("Received TOC ModData: " .. tostring(key))
TOC_DEBUG.printTable(table)
ModData.add(key, table) -- Add it to the server mod data
ServerDataHandler.modData[key] = table
end