How did that get away?

This commit is contained in:
Joe Z 2019-07-07 23:14:17 -04:00
parent 0e65b39395
commit 2b9740768b

View File

@ -318,6 +318,7 @@ function GameMode:initializeOrHold(inputs, ruleset)
else else
self:initializeNextPiece(inputs, ruleset, self.next_queue[1]) self:initializeNextPiece(inputs, ruleset, self.next_queue[1])
end end
self:onPieceEnter()
if not self.grid:canPlacePiece(self.piece) then if not self.grid:canPlacePiece(self.piece) then
self:onGameOver() self:onGameOver()
self.game_over = true self.game_over = true