整理代码,返回需要二次确认的小程序统一用一个函数

This commit is contained in:
MrZ626
2021-11-29 22:39:20 +08:00
parent a4293624ab
commit e3db564a4b
12 changed files with 43 additions and 31 deletions

View File

@@ -185,7 +185,9 @@ function scene.keyDown(key,isRep)
elseif key=='r'then
reset()
elseif key=='escape'then
SCN.back()
if tryBack()then
SCN.back()
end
end
end