mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 12:04:55 +02:00
Just use g_configs.unload(config) to unload config files.
Avoids concurrent modification errors.
This commit is contained in:
@@ -157,6 +157,7 @@ function table.tostring(t)
|
||||
local maxn = #t
|
||||
local str = ""
|
||||
for k,v in pairs(t) do
|
||||
v = tostring(v)
|
||||
if k == maxn and k ~= 1 then
|
||||
str = str .. " and " .. v
|
||||
elseif maxn > 1 and k ~= 1 then
|
||||
|
Reference in New Issue
Block a user