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)