gamecore/scenemanager: draw the world before drawing the scene

This commit is contained in:
Kazhnuz 2019-05-30 13:37:30 +02:00
parent 48aa0a3eab
commit e73d6804f5

View file

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