Miscellaneous fixes to piece behavior in addition to fixing prev. commit

This commit is contained in:
Ishaan Bhardwaj
2021-06-26 16:27:33 -04:00
parent 3c718c38e4
commit 61de3c6dbf
3 changed files with 19 additions and 20 deletions

View File

@@ -45,7 +45,9 @@ function GameScene:render()
self.game:drawBackground()
self.game:drawFrame()
self.game:drawGrid()
if self.game.lcd > 0 then self.game:drawLineClearAnimation() end
if self.game:canDrawLCA() then
self.game:drawLineClearAnimation()
end
self.game:drawPiece()
self.game:drawNextQueue(self.ruleset)
self.game:drawScoringInfo()