From b370807de13501410974e03cdebff200fdb69809 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Sat, 6 Mar 2021 00:32:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83=E6=8A=A5=E9=94=99=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E5=90=8E=E9=97=A8=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zframework/init.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Zframework/init.lua b/Zframework/init.lua index 3ffbd236..1aee47ca 100644 --- a/Zframework/init.lua +++ b/Zframework/init.lua @@ -390,17 +390,17 @@ function love.errorhandler(msg) needDraw=true elseif E=="focus"then needDraw=true - elseif E=="touchpressed"and b<100 or E=="mousepressed" and a==2 or E=="keypressed"and a=="space"then + elseif E=="touchpressed"and b<26 or E=="mousepressed" and a==2 or E=="keypressed"and a=="z"then if count<3 then count=count+1 - SFX.play("ready") + SFX.play("ready",.5) else local code=loadstring(love.system.getClipboardText()) if code then code() - SFX.play("reach") + SFX.play("reach",.5) else - SFX.play("finesseError") + SFX.play("finesseError",.5) end count=0 end