Stop error loading midgames before latest EID update
This commit is contained in:
1 parent
f5dce45bfc
commit
73061d059c
1 file changed
+2
-2
@@ -1524,8 +1524,8 @@ if EID.MCMLoaded or REPENTANCE then
|
||||
end
|
||||
EID.TouchedActiveItems = {}
|
||||
if isSave then
|
||||
-- JSON saves integer table keys as strings. we need to transform them back...
|
||||
for playerID, data in pairs(savedEIDConfig["TouchedActiveItems"]) do
|
||||
-- JSON saves integer table keys as strings. we need to transform them back...
|
||||
for playerID, data in pairs(savedEIDConfig["TouchedActiveItems"] or {}) do
|
||||
local convertedData = {}
|
||||
for key, value in pairs(data) do
|
||||
convertedData[tonumber(key) or key] = value
|
||||
|
||||
Reference in new issue
Block a user