mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Fixed game.table_to_json error
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user