修正错误情况进入暂停菜单时的一个崩溃

This commit is contained in:
MrZ_26
2022-12-19 01:28:20 +08:00
parent dbbec9d2bd
commit f62f3652e2

View File

@@ -17,7 +17,7 @@ local trophyColor-- Current trophy color
function scene.enter()
page=0
if SCN.prev:find("setting") then
if type(SCN.prev)=='string' and SCN.prev:find("setting") then
TEXT.show(text.needRestart,640,410,50,'fly',.6)
end
local P1=PLAYERS[1]