报错时安全起见关闭背景

This commit is contained in:
MrZ626
2021-03-16 15:59:20 +08:00
parent 88f249e301
commit 5c1807c5f5

View File

@@ -376,6 +376,7 @@ function love.errorhandler(msg)
ins(ERRDATA,errData)
--Get screencapture
BG.set("none")
love.audio.stop()
gc.reset()
gc.captureScreenshot(function(_)errData.shot=gc.newImage(_)end)