Just use g_configs.unload(config) to unload config files.

Avoids concurrent modification errors.
This commit is contained in:
BenDol
2014-04-06 15:29:02 +12:00
parent a02c091376
commit 1baad726ae
5 changed files with 6 additions and 4 deletions

View File

@@ -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