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