scenes/boost: load the level data from the right file

This commit is contained in:
Kazhnuz 2019-02-03 20:36:36 +01:00
parent 68d05e53b6
commit c700be6488

View file

@ -95,7 +95,7 @@ end
function Controller:getLevelData(file) function Controller:getLevelData(file)
local file = file or "testlevel.test1" local file = file or "testlevel.test1"
local level = require("datas.levels." .. file) local level = require("datas.subgame.sonic-boost.levels." .. file)
self.zone = level.datas.zone self.zone = level.datas.zone