From 49748745b7af03127fdd088200e2d125baa29929 Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj Date: Sat, 26 Jun 2021 16:25:55 -0400 Subject: [PATCH] Small CC update --- tetris/modes/combo_challenge.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tetris/modes/combo_challenge.lua b/tetris/modes/combo_challenge.lua index ca9fca7..4eafbd3 100644 --- a/tetris/modes/combo_challenge.lua +++ b/tetris/modes/combo_challenge.lua @@ -74,6 +74,9 @@ function ComboChallenge:hold(inputs, ruleset, ihs) if ihs then playSE("ihs") else playSE("hold") end self:onHold() + if not self.grid:canPlacePiece(self.piece) then + self.game_over = true + end end function ComboChallenge:advanceOneFrame()