scenes/boost: use the included asset handler

This commit is contained in:
Kazhnuz 2019-02-04 09:36:18 +01:00
parent d199c73f64
commit 4ac18039a9

View file

@ -1,8 +1,6 @@
local Scene = require "core.modules.scenes" local Scene = require "core.modules.scenes"
local BoostLevel = Scene:extend() local BoostLevel = Scene:extend()
local Assets = require "core.modules.assets"
local folder = "scenes.subgame.sonic-boost.controller." local folder = "scenes.subgame.sonic-boost.controller."
local HUD = require(folder .. "hud") local HUD = require(folder .. "hud")
@ -21,7 +19,6 @@ function BoostLevel:new()
BoostLevel.super.new(self) BoostLevel.super.new(self)
self:initMission() self:initMission()
self.assets = Assets()
LoadAssets(self) LoadAssets(self)
self:initManagers() self:initManagers()