mirror of
https://github.com/SashLilac/cambridge-modpack.git
synced 2024-11-22 06:49:01 -06:00
Fixed NES transitions, once and for all
This commit is contained in:
parent
5e0e36fc5c
commit
9df0501cf5
@ -149,7 +149,7 @@ function MarathonC89Game:getTransitionLines()
|
||||
end
|
||||
|
||||
function MarathonC89Game:getLevelForLines()
|
||||
return self.start_level + math.max(0, math.floor(self.lines - self:getTransitionLines()) + 1)
|
||||
return self.start_level + math.max(0, math.floor((self.lines - self:getTransitionLines()) / 10) + 1)
|
||||
end
|
||||
|
||||
function MarathonC89Game:updateScore(level, drop_bonus, cleared_lines)
|
||||
|
Loading…
Reference in New Issue
Block a user