Fixing Demon Mode backgrounds
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