From 1a1af02ab4d94b35eaad37d6eaa01759cae80d52 Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Sun, 7 Jan 2018 21:48:36 +0000 Subject: [PATCH] Fixed json.data --- ExpLib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExpLib.lua b/ExpLib.lua index b1da2bee..c5268edc 100644 --- a/ExpLib.lua +++ b/ExpLib.lua @@ -104,7 +104,7 @@ function ExpLib.discord_emit(args) color=color, fields=fields } - game.write_file('json.data','\n'..table.json(log_data),true,0) + game.write_file('json.data',table.json(log_data)..'\n',true,0) end --- Convert ticks to hours