From a5fed31f4ed32bee304d94d6de3e064a2dba934e Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj Date: Sat, 2 Oct 2021 20:14:03 -0400 Subject: [PATCH] Moved the LCA draw call to after the piece draw call --- tetris/modes/gamemode.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tetris/modes/gamemode.lua b/tetris/modes/gamemode.lua index a4b7c6b..8cceb64 100644 --- a/tetris/modes/gamemode.lua +++ b/tetris/modes/gamemode.lua @@ -920,13 +920,13 @@ function GameMode:draw(paused) self:drawFrame() self:drawGrid() self:drawPiece() + if self:canDrawLCA() then + self:drawLineClearAnimation() + end self:drawNextQueue(self.ruleset) self:drawScoringInfo() self:drawReadyGo() self:drawCustom() - if self:canDrawLCA() then - self:drawLineClearAnimation() - end love.graphics.setColor(1, 1, 1, 1) love.graphics.setFont(font_3x5_2)