Fixed the piece lock SFX where applicable, in modes that had their own lock functions.

pull/13/head
Ishaan Bhardwaj 2020-11-09 23:22:28 -05:00
parent c614e9c4cd
commit 78ae0ae671
6 changed files with 6 additions and 0 deletions

View File

@ -169,6 +169,7 @@ function SurvivalCKGame:onLineClear(cleared_row_count)
end
function SurvivalCKGame:onPieceLock(piece, cleared_row_count)
self.super:onPieceLock()
if cleared_row_count == 0 then self:advanceBottomRow(1) end
end

View File

@ -114,6 +114,7 @@ function MarathonC89Game:advanceOneFrame()
end
function MarathonC89Game:onPieceLock()
self.super:onPieceLock()
self.score = self.score + self.drop_bonus
self.drop_bonus = 0
end

View File

@ -177,6 +177,7 @@ function PhantomMania2Game:onLineClear(cleared_row_count)
end
function PhantomMania2Game:onPieceLock(piece, cleared_row_count)
self.super:onPieceLock()
if cleared_row_count == 0 then self:advanceBottomRow(1) end
end

View File

@ -84,6 +84,7 @@ function Race40Game:advanceOneFrame()
end
function Race40Game:onPieceLock()
self.super:onPieceLock()
self.pieces = self.pieces + 1
end

View File

@ -160,6 +160,7 @@ function SurvivalA3Game:onLineClear(cleared_row_count)
end
function SurvivalA3Game:onPieceLock(piece, cleared_row_count)
self.super:onPieceLock()
if cleared_row_count == 0 then self:advanceBottomRow(1) end
end

View File

@ -120,6 +120,7 @@ function TGMPlusGame:onPieceEnter()
end
function TGMPlusGame:onPieceLock(piece, cleared_row_count)
self.super:onPieceLock()
if cleared_row_count == 0 then self:advanceBottomRow() end
end