src/scenemanager: update the scene's assets before the scene
This commit is contained in:
parent
2efe98b407
commit
eb6fffb571
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ function SceneManager:update(dt)
|
|||
if (self.currentScene ~= nil) then
|
||||
local keys = self.controller.input.keys
|
||||
self.currentScene.keys = keys
|
||||
self.currentScene.assets:update(dt)
|
||||
self.currentScene:update(dt)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue