core: draw automaticall the menusystem over the scene

This commit is contained in:
Kazhnuz 2019-02-11 22:36:34 +01:00
parent 7bdc31450b
commit 327448d22f

View file

@ -61,6 +61,7 @@ function SceneManager:draw()
self.controller.screen:apply() self.controller.screen:apply()
if (self.currentScene ~= nil) then if (self.currentScene ~= nil) then
self.currentScene:draw(dt) self.currentScene:draw(dt)
self.currentScene.menusystem:draw()
end end
self.controller.screen:cease() self.controller.screen:cease()
end end