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()
if (self.currentScene ~= nil) then
self.currentScene:draw(dt)
self.currentScene.menusystem:draw()
end
self.controller.screen:cease()
end