Added the ghost piece to modes that needed them.
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