mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 14:49:02 -06:00
Fixed the piece lock SFX where applicable, in modes that had their own lock functions.
This commit is contained in:
parent
c614e9c4cd
commit
78ae0ae671
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -84,6 +84,7 @@ function Race40Game:advanceOneFrame()
|
||||
end
|
||||
|
||||
function Race40Game:onPieceLock()
|
||||
self.super:onPieceLock()
|
||||
self.pieces = self.pieces + 1
|
||||
end
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user