mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-25 21:19:01 -06:00
Added the ghost piece to modes that needed them.
This commit is contained in:
parent
cebe57dd1e
commit
956e826bb2
@ -171,6 +171,9 @@ end
|
||||
|
||||
function MarathonA1Game:drawGrid()
|
||||
self.grid:draw()
|
||||
if self.piece ~= nil and self.level < 100 then
|
||||
self:drawGhostPiece(ruleset)
|
||||
end
|
||||
end
|
||||
|
||||
function MarathonA1Game:drawScoringInfo()
|
||||
|
@ -346,6 +346,9 @@ function MarathonA3Game:drawGrid()
|
||||
end
|
||||
else
|
||||
self.grid:draw()
|
||||
if self.piece ~= nil and self.level < 100 then
|
||||
self:drawGhostPiece(ruleset)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -141,9 +141,6 @@ end
|
||||
|
||||
function SurvivalA1Game:drawGrid()
|
||||
self.grid:draw()
|
||||
if self.piece ~= nil and self.level < 100 then
|
||||
self:drawGhostPiece(ruleset)
|
||||
end
|
||||
end
|
||||
|
||||
function SurvivalA1Game:drawScoringInfo()
|
||||
|
Loading…
Reference in New Issue
Block a user