From 1a689a5f078ee2c001a6f05ba08ee13c416cf78c Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Thu, 25 Nov 2021 09:57:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=BD=93=E5=89=8D=E6=96=B9?= =?UTF-8?q?=E5=9D=97=E6=98=BE=E7=A4=BA=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/player/draw.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parts/player/draw.lua b/parts/player/draw.lua index 6875f738..943d95af 100644 --- a/parts/player/draw.lua +++ b/parts/player/draw.lua @@ -782,7 +782,7 @@ function draw.norm(P,repMode) _drawFXs(P) --Draw current block - if P.cur then + if P.alive and P.cur then local C=P.cur local curColor=C.color @@ -996,7 +996,7 @@ function draw.demo(P) gc_translate(0,600) _drawField(P) _drawFXs(P) - if P.cur then + if P.alive and P.cur then local curColor=P.cur.color if ENV.ghost then drawGhost[ENV.ghostType](P.cur.bk,P.curX,P.ghoY,ENV.ghost,P.skinLib,curColor)