From cd5abeb0c21166d8d5a55843da8aaed2a5f464bc Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Tue, 24 Oct 2017 13:41:52 +0100 Subject: [PATCH] error --- locale/ExpGaming-Core/ExpGaming - Lib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locale/ExpGaming-Core/ExpGaming - Lib.lua b/locale/ExpGaming-Core/ExpGaming - Lib.lua index 5afe97de..11d5cd0f 100644 --- a/locale/ExpGaming-Core/ExpGaming - Lib.lua +++ b/locale/ExpGaming-Core/ExpGaming - Lib.lua @@ -73,7 +73,7 @@ function json_log(lua_table,no_log) for key,value in ipairs(lua_table) do done[key] = true if type(value) == 'table' then value = table.insert(result,json_log(value,true)) - else if type(value) == 'string' then json = table.insert(result,'"'..value..'"') + elseif type(value) == 'string' then json = table.insert(result,'"'..value..'"') elseif type(value) == 'number' then table.insert(result,value) else table.insert(result,key..':null') end end