From fedbf14a24134d8d995483db42eed21acf3ffe17 Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Fri, 23 Nov 2018 16:08:18 +0000 Subject: [PATCH] Fixed game.table_to_json error --- modules/ExpGamingLib/control.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ExpGamingLib/control.lua b/modules/ExpGamingLib/control.lua index 7b32f2f4..88262c59 100644 --- a/modules/ExpGamingLib/control.lua +++ b/modules/ExpGamingLib/control.lua @@ -254,7 +254,7 @@ end -- @tparam table lua_table the table to convert -- @treturn string the table in a json format function table.json(lua_table) - if game and game.table_to_json then return game.table_to_json(lua_table) end + --if game and game.table_to_json then return game.table_to_json(lua_table) end local result, done, only_indexs = {}, {}, true for key,value in ipairs(lua_table) do done[key] = true