From 7a824e09a3b54cb1f443128637df09e672e30358 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Tue, 20 Jul 2021 14:03:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A7=E5=88=B6=E5=8F=B0resetall=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=E6=97=B6=E6=9C=BA?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E9=80=80=E5=87=BA=E5=89=8D=E6=9C=80=E5=90=8E?= =?UTF-8?q?=E4=B8=80=E7=9E=AC=E9=97=B4=20close=20#133?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/app_console.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parts/scenes/app_console.lua b/parts/scenes/app_console.lua index ef378c6d..759eefc7 100644 --- a/parts/scenes/app_console.lua +++ b/parts/scenes/app_console.lua @@ -611,7 +611,7 @@ local commands={}do local button=WIDGET.newButton{name="bye",x=640,y=615,w=426,h=100,code=function() TASK.new(function() WIDGET.active.bye.hide=true - FILE.clear_s('')for _=1,30 do coroutine.yield()end + for _=1,30 do coroutine.yield()end log{C.R,"Bye in 5..."}SFX.play('ready')SFX.play('clear_2')for _=1,60 do coroutine.yield()end log{C.R,"Bye in 4..."}SFX.play('ready')SFX.play('clear_2')for _=1,60 do coroutine.yield()end log{C.R,"Bye in 3..."}SFX.play('ready')SFX.play('clear_2')for _=1,60 do coroutine.yield()end @@ -619,7 +619,7 @@ local commands={}do log{C.R,"Bye in 1..."}SFX.play('ready')SFX.play('clear_3')for _=1,60 do coroutine.yield()end log{C.R,"Bye in 0..."}SFX.play('start')SFX.play('clear_4')for _=1,60 do coroutine.yield()end outputBox.hide=true for _=1,26 do coroutine.yield()end - love.event.quit() + FILE.clear_s('')love.event.quit() end) end} button:setObject("Techmino is fun. Bye.")