scenes/boost: load the level data from the right file
This commit is contained in:
parent
68d05e53b6
commit
c700be6488
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue