diff --git a/Zframework/init.lua b/Zframework/init.lua index dc69085d..43e4c848 100644 --- a/Zframework/init.lua +++ b/Zframework/init.lua @@ -376,14 +376,14 @@ function love.errorhandler(msg) --Write messages to log file love.filesystem.append("conf/error.log", os.date("%Y/%m/%d_%A_%H:%M:%S\n").. - SYSTEM.."-"..VERSION_NAME.." scene: "..(SCN and SCN.cur or"NULL").."\n".. + #ERRDATA.." crash(es) "..SYSTEM.."-"..VERSION_NAME.." scene: "..(SCN and SCN.cur or"NULL").."\n".. errData.mes.."\n\n" ) ins(ERRDATA,errData) --Force quit if error too much - if #ERRDATA>=6 then return end + if #ERRDATA>=5 then return end --Get screencapture BG.set("none")