From eb6fffb571608cd9906ae7d88b8265e936d9de44 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Mon, 28 Jan 2019 14:01:08 +0100 Subject: [PATCH] src/scenemanager: update the scene's assets before the scene --- sonic-radiance.love/core/scenemanager.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/sonic-radiance.love/core/scenemanager.lua b/sonic-radiance.love/core/scenemanager.lua index 9f108f5..a3b5362 100644 --- a/sonic-radiance.love/core/scenemanager.lua +++ b/sonic-radiance.love/core/scenemanager.lua @@ -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