From 307c2ded5aff7fc44ceb135cc233229f106c5cd0 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Sat, 27 Mar 2021 15:00:10 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=B8=BB=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E5=BF=AB=E9=80=9F=E5=BC=80=E5=A7=8B=E6=8C=89=E9=92=AE=E6=96=87?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/main.lua | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/parts/scenes/main.lua b/parts/scenes/main.lua index a79d40e5..830e65dd 100644 --- a/parts/scenes/main.lua +++ b/parts/scenes/main.lua @@ -7,8 +7,6 @@ local tipLength=760 local tip=gc.newText(getFont(30),"") local scrollX--Tip scroll position -local quickSure - local widgetX0={ -10,-10,-10,-10, 1290,1290,1290,1290, @@ -35,7 +33,7 @@ function scene.sceneInit() coroutine.resume(cmdEntryThread) --Set quick-play-button text - scene.widgetList[2].text=text.WidgetText.main.qplay + scene.widgetList[2].text=text.WidgetText.main.qplay..": "..text.modes[STAT.lastPlay][1] quickSure=false --Create demo player @@ -74,11 +72,7 @@ function scene.keyDown(key) SCN.go("mode") end elseif key=="q"then - if not quickSure then - scene.widgetList[2].text=text.modes[STAT.lastPlay][1].."-"..text.modes[STAT.lastPlay][2] - quickSure=true - testButton(2) - elseif testButton(2)then + if testButton(2)then loadGame(STAT.lastPlay,true) end elseif key=="a"then