mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 13:19:03 -06:00
Compare commits
No commits in common. "e09b044de48fb00b7993c5840678d6e9849231fe" and "9d365f61a7f44263c99dc9ece68bda5c358cbcf5" have entirely different histories.
e09b044de4
...
9d365f61a7
@ -143,7 +143,7 @@ end
|
|||||||
function Survival2020Game:onPieceEnter()
|
function Survival2020Game:onPieceEnter()
|
||||||
if not self.clear and (
|
if not self.clear and (
|
||||||
(self.level < 1900 and self.level % 100 ~= 99) or
|
(self.level < 1900 and self.level % 100 ~= 99) or
|
||||||
(1900 <= self.level and self.level < 2019)
|
self.level == 2019
|
||||||
) then
|
) then
|
||||||
self.level = self.level + 1
|
self.level = self.level + 1
|
||||||
end
|
end
|
||||||
@ -249,7 +249,7 @@ function Survival2020Game:drawScoringInfo()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function Survival2020Game:getBackground()
|
function Survival2020Game:getBackground()
|
||||||
return math.min(19, math.floor(self.level / 100))
|
return math.floor(self.level / 100)
|
||||||
end
|
end
|
||||||
|
|
||||||
function Survival2020Game:getHighscoreData()
|
function Survival2020Game:getHighscoreData()
|
||||||
|
Loading…
Reference in New Issue
Block a user