mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-21 15:59:03 -06:00
Merge pull request #76 from infinifen/survival-2020-math-fix
Fix a typo causing crashes in Survival 2020 level 1500+
This commit is contained in:
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
Block a user