From 8cb7222177e04ee58640b9e8b379a2592d11728d Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Sun, 29 Oct 2017 20:01:23 +0000 Subject: [PATCH] move to json.data --- 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 2bdc90ff..05e32198 100644 --- a/locale/ExpGaming-Core/ExpGaming - Lib.lua +++ b/locale/ExpGaming-Core/ExpGaming - Lib.lua @@ -90,10 +90,10 @@ function json_log(lua_table,no_log) end if only_indexs then if no_log then return "["..table.concat(result,",").."]" - else game.write_file('multi.log',"["..table.concat(result,",").."]\n",true,0) end + else game.write_file('json.data',"["..table.concat(result,",").."]\n",true,0) end else if no_log then return "{"..table.concat(result,",").."}" - else game.write_file('multi.log',"{"..table.concat(result,",").."}\n",true,0) end + else game.write_file('json.data',"{"..table.concat(result,",").."}\n",true,0) end end end -- allows a simple way to debug code; idenitys = {'string1','string2'}; string will be writen to file; no_trigger dissables the trigger useful for on_tick events