gamecore/scenemanager: draw the world before drawing the scene
This commit is contained in:
parent
48aa0a3eab
commit
e73d6804f5
1 changed files with 1 additions and 1 deletions
|
@ -108,9 +108,9 @@ end
|
||||||
function SceneManager:draw()
|
function SceneManager:draw()
|
||||||
self.controller.screen:apply()
|
self.controller.screen:apply()
|
||||||
if (self.currentScene ~= nil) then
|
if (self.currentScene ~= nil) then
|
||||||
|
self.currentScene:drawWorld()
|
||||||
self.currentScene:draw(dt)
|
self.currentScene:draw(dt)
|
||||||
self.currentScene.menusystem:draw()
|
self.currentScene.menusystem:draw()
|
||||||
self.currentScene:drawWorld()
|
|
||||||
end
|
end
|
||||||
self.controller.screen:cease()
|
self.controller.screen:cease()
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue