From 57f12259b4b1accb0fc5765da99637aff452b46c Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Tue, 24 Oct 2017 13:22:07 +0100 Subject: [PATCH] Small edit --- locale/ExpGaming-Core/ExpGaming - Lib.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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