Small CC update

pull/4/head
Ishaan Bhardwaj 2021-06-26 16:25:55 -04:00
parent 789afaf90d
commit 49748745b7
1 changed files with 3 additions and 0 deletions

View File

@ -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()