Re-add clamp for backgrounds beyond the limit

This commit is contained in:
Ishaan Bhardwaj
2023-07-16 01:54:20 -04:00
parent 6fb583e463
commit 50410958f0
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ image_formats = {".png", ".jpg"}
bgpath = "res/backgrounds/"
dir = love.filesystem.getDirectoryItems(bgpath)
local backgrounds = {}
backgrounds = {}
local function loadExtendedBgs()
extended_bgs = require("res.backgrounds.extend_section_bg")