From 08d69bf1e7e62c2196f27bdeb166700a9797c70c Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Wed, 24 Mar 2021 00:48:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=A7=A6=E5=B1=8F=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E6=99=BA=E8=83=BD=E7=94=BB=E7=AC=94=E4=BC=9A=E7=88=86?= =?UTF-8?q?=E7=82=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/custom_field.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/parts/scenes/custom_field.lua b/parts/scenes/custom_field.lua index 8738017e..dc304946 100644 --- a/parts/scenes/custom_field.lua +++ b/parts/scenes/custom_field.lua @@ -67,7 +67,9 @@ local function SPpath(x,y) end local function SPdraw() local l=#SPlist - local C--color + if l==0 then return end + + local C--pen color if SPmode==0 then if l<=5 then local sum=0