From d803802b435727292befcd730672ea32e3cc1a35 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Wed, 17 Mar 2021 21:19:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8A=A5=E9=94=99=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zframework/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")