diff --git a/locale/ExpGaming-Core/ExpGaming - Lib.lua b/locale/ExpGaming-Core/ExpGaming - Lib.lua index c6e9f637..8a6515fb 100644 --- a/locale/ExpGaming-Core/ExpGaming - Lib.lua +++ b/locale/ExpGaming-Core/ExpGaming - Lib.lua @@ -73,8 +73,8 @@ 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)) end - if type(value) == 'string' then json = table.insert(result,key..':""'..value..'"') - elseif type(value) == 'number' then table.insert(result,key..':'..value) + if 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 for key,value in pairs(lua_table) do