src/core: send keys input to scenes

This commit is contained in:
Kazhnuz 2019-01-28 09:48:19 +01:00
parent 706565eb5d
commit fd566ab26a

View file

@ -32,6 +32,8 @@ end
function SceneManager:update(dt)
if (self.currentScene ~= nil) then
local keys = self.controller.input.keys
self.currentScene.keys = keys
self.currentScene:update(dt)
end
end