mirror of
https://github.com/SashLilac/cambridge-modpack.git
synced 2024-11-22 19:59:02 -06:00
Fixed CK to fix game over on fading torikan
This commit is contained in:
parent
c95dcc1bb9
commit
e8e303ddc2
@ -215,16 +215,17 @@ function SurvivalCKGame:advanceBottomRow(dx)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function SurvivalCKGame:drawGrid()
|
function SurvivalCKGame:drawGrid()
|
||||||
if self.level >= 1500 and self.level < 1600 then
|
if not (self.completed or self.game_over)
|
||||||
self.grid:drawInvisible(self.rollOpacityFunction1)
|
if self.level >= 1500 and self.level < 1600 then
|
||||||
elseif self.level >= 1600 and self.level < 1700 then
|
self.grid:drawInvisible(self.rollOpacityFunction1)
|
||||||
self.grid:drawInvisible(self.rollOpacityFunction2)
|
elseif self.level >= 1600 and self.level < 1700 then
|
||||||
elseif self.level >= 1700 and self.level < 1800 then
|
self.grid:drawInvisible(self.rollOpacityFunction2)
|
||||||
self.grid:drawInvisible(self.rollOpacityFunction3)
|
elseif self.level >= 1700 and self.level < 1800 then
|
||||||
elseif self.level >= 1800 and self.level < 1900 then
|
self.grid:drawInvisible(self.rollOpacityFunction3)
|
||||||
self.grid:drawInvisible(self.rollOpacityFunction4)
|
elseif self.level >= 1800 and self.level < 1900 then
|
||||||
elseif self.level >= 1900 and self.level < 2000 then
|
self.grid:drawInvisible(self.rollOpacityFunction4)
|
||||||
self.grid:drawInvisible(self.rollOpacityFunction5)
|
elseif self.level >= 1900 and self.level < 2000 then
|
||||||
|
self.grid:drawInvisible(self.rollOpacityFunction5)
|
||||||
else
|
else
|
||||||
self.grid:draw()
|
self.grid:draw()
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user