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
commit d90e382037
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()