From 3e25f9c1d7c0a496d741d3c29a15013cc870005e Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Sun, 14 Mar 2021 21:06:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8A=A0=E8=BD=BD=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E7=82=B9=E7=A9=BA=E7=99=BD=E7=9A=84=E5=9C=B0=E6=96=B9?= =?UTF-8?q?=E4=BC=9A=E8=A7=A6=E5=8F=9113=E5=8F=B7=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/load.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parts/scenes/load.lua b/parts/scenes/load.lua index c3611e7a..d275463d 100644 --- a/parts/scenes/load.lua +++ b/parts/scenes/load.lua @@ -228,7 +228,7 @@ function scene.keyDown(key) skip=999 elseif key=="r"then cmdLaunchKey=cmdLaunchKey+1 - elseif locked and key:byte()>=97 and key:byte()<=122 then + elseif locked and #key==1 and key:byte()>=97 and key:byte()<=122 then switchLight(key:byte()-96) else skip=skip+1