mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 19:19:02 -06:00
Fixing Demon Mode backgrounds
This commit is contained in:
parent
342036bc28
commit
57a9f6ef55
@ -259,7 +259,7 @@ function DemonModeGame:getHighscoreData()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function DemonModeGame:getBackground()
|
function DemonModeGame:getBackground()
|
||||||
return math.floor(self.level / 100)
|
return math.min(math.floor(self.level / 100), 19)
|
||||||
end
|
end
|
||||||
|
|
||||||
return DemonModeGame
|
return DemonModeGame
|
||||||
|
Loading…
Reference in New Issue
Block a user