减少连续报错限制次数

This commit is contained in:
MrZ626
2021-04-01 12:42:28 +08:00
parent 881769b433
commit 5d728573cd

View File

@@ -382,7 +382,7 @@ function love.errorhandler(msg)
love.audio.stop()
gc.reset()
if LOADED and #ERRDATA<5 then
if LOADED and #ERRDATA<3 then
BG.set("none")
local scn=SCN and SCN.cur or"NULL"
ERRDATA[#ERRDATA+1]={mes=err,scene=scn}