From 3876169ce3cae6cc981cc22e8664304471b614e5 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Fri, 20 Nov 2020 19:30:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=9C=BA=E5=8A=A8=E7=94=BB=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E9=BC=A0=E6=A0=87=E5=8F=B3=E9=94=AE=E4=B8=8D=E9=80=80?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/intro.lua | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/parts/scenes/intro.lua b/parts/scenes/intro.lua index a39d6d58..69fcc28d 100644 --- a/parts/scenes/intro.lua +++ b/parts/scenes/intro.lua @@ -19,19 +19,18 @@ function sceneInit.intro() end function mouseDown.intro(_,_,k) - if k==2 then - VOC.play("bye") - SCN.back() - elseif NOGAME=="delSetting"then - LOG.print("检测到过老版本无效设置数据,设置已经全部重置,请重启游戏完成",600,COLOR.yellow) - LOG.print("Old version detected & setting file deleted, please restart the game",600,COLOR.yellow) - else - if newVersionLaunch then - SCN.push("main","fade") - SCN.swapTo("history","fade") - LOG.print(text.newVersion,"warn",COLOR.lBlue) + if k~=2 then + if NOGAME=="delSetting"then + LOG.print("检测到过老版本无效设置数据,设置已经全部重置,请重启游戏完成",600,COLOR.yellow) + LOG.print("Old version detected & setting file deleted, please restart the game",600,COLOR.yellow) else - SCN.go("main") + if newVersionLaunch then + SCN.push("main","fade") + SCN.swapTo("history","fade") + LOG.print(text.newVersion,"warn",COLOR.lBlue) + else + SCN.go("main") + end end end end @@ -40,7 +39,8 @@ function touchDown.intro() end function keyDown.intro(key) if key=="escape"then - mouseDown.intro(nil,nil,2) + VOC.play("bye") + SCN.back() else mouseDown.intro() end