core: draw automaticall the menusystem over the scene
This commit is contained in:
parent
7bdc31450b
commit
327448d22f
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue