scenes/boost: fix a crash-causing typo in the background controller
This commit is contained in:
parent
ca86ef714d
commit
adc0b40c3c
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ local Background = Object:extend()
|
|||
function Background:new(controller, levelname)
|
||||
self.controller = controller
|
||||
local filename = self.controller.datas.background or "forest"
|
||||
local backfolder = "assets/levels/backgrounds/sideview/parallax"
|
||||
local backfolder = "assets/backgrounds/sideview/parallax/"
|
||||
filename = backfolder .. filename
|
||||
self.back1 = love.graphics.newImage(filename .. "-back.png")
|
||||
self.back2 = love.graphics.newImage(filename .. "-fore.png")
|
||||
|
|
Loading…
Reference in a new issue