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:
Ishaan Bhardwaj
2023-07-22 11:29:39 -04:00
committed by GitHub

View File

@@ -201,7 +201,7 @@ end
Survival2020Game.opacityFunction = function(age)
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
function Survival2020Game:drawGrid()