Merge pull request #76 from infinifen/survival-2020-math-fix
Fix a typo causing crashes in Survival 2020 level 1500+pull/77/head
commit
d90e382037
|
@ -201,7 +201,7 @@ end
|
||||||
|
|
||||||
Survival2020Game.opacityFunction = function(age)
|
Survival2020Game.opacityFunction = function(age)
|
||||||
if age > 300 then return 0
|
if age > 300 then return 0
|
||||||
else return 1 - Math.max(age - 240, 0) / 60 end
|
else return 1 - math.max(age - 240, 0) / 60 end
|
||||||
end
|
end
|
||||||
|
|
||||||
function Survival2020Game:drawGrid()
|
function Survival2020Game:drawGrid()
|
||||||
|
|
Loading…
Reference in New Issue