主菜单退出按钮改成返回按钮

This commit is contained in:
MrZ626
2021-04-23 16:19:39 +08:00
parent d111f7fc66
commit e999a9cb1e
8 changed files with 4 additions and 8 deletions

View File

@@ -22,6 +22,8 @@ function scene.mouseDown(_,_,k)
else
SCN.go(SETTING.simpMode and"main_simple"or"main")
end
else
SCN.swapTo("quit","slowFade")
end
end
function scene.touchDown()
@@ -30,7 +32,7 @@ end
function scene.keyDown(key)
if key=="escape"then
VOC.play("bye")
SCN.back()
SCN.swapTo("quit","slowFade")
else
scene.mouseDown()
end