scenes/level: correctly initialize the level scene
This commit is contained in:
parent
d5be597a79
commit
0a80e92d9f
|
@ -31,10 +31,13 @@ function levelLoad(levelID, missionID)
|
|||
end
|
||||
|
||||
function LevelScene:new(levelID, missionID)
|
||||
LevelScene.super.new(self)
|
||||
level_loadSounds()
|
||||
loadSprites()
|
||||
previousMenu = previous
|
||||
currentLevel:loadMission(levelID, missionID)
|
||||
|
||||
self:register()
|
||||
end
|
||||
|
||||
function LevelScene:update(dt)
|
||||
|
|
Loading…
Reference in New Issue