修复报错界面的一个错误

This commit is contained in:
MrZ626
2021-03-18 12:50:26 +08:00
parent 601591c7db
commit 756ca31319

View File

@@ -370,14 +370,14 @@ function love.errorhandler(msg)
c=3
end
end
errData.mes=table.concat(errData.mes,"\n",1,c-2)
DBP(errData.mes)
local errMes=table.concat(errData.mes,"\n",1,c-2)
DBP(errMes)
--Write messages to log file
love.filesystem.append("conf/error.log",
os.date("%Y/%m/%d_%A_%H:%M:%S\n")..
#ERRDATA.." crash(es) "..SYSTEM.."-"..VERSION_NAME.." scene: "..(SCN and SCN.cur or"NULL").."\n"..
errData.mes.."\n\n"
errMes.."\n\n"
)
ins(ERRDATA,errData)