Fixing Demon Mode backgrounds

This commit is contained in:
Ishaan Bhardwaj 2020-10-23 14:52:59 -04:00
parent 342036bc28
commit 57a9f6ef55

View File

@ -259,7 +259,7 @@ function DemonModeGame:getHighscoreData()
end
function DemonModeGame:getBackground()
return math.floor(self.level / 100)
return math.min(math.floor(self.level / 100), 19)
end
return DemonModeGame