整理代码,添加最新版本兼容

This commit is contained in:
MrZ626
2021-06-26 14:20:48 +08:00
parent d1c1631bae
commit 0ea58e0858
3 changed files with 4 additions and 3 deletions

View File

@@ -415,7 +415,7 @@ function love.errorhandler(msg)
ins(ERRDATA,{mes=err,scene=scn})
--Write messages to log file
love.filesystem.append("conf/error.log",
love.filesystem.append('conf/error.log',
os.date("%Y/%m/%d %A %H:%M:%S\n")..
#ERRDATA.." crash(es) "..SYSTEM.."-"..VERSION.string.." scene: "..scn.."\n"..
table.concat(err,"\n",1,c-2).."\n\n"