From e73d6804f550f7e544dda95ad356bd7b2e130934 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Thu, 30 May 2019 13:37:30 +0200 Subject: [PATCH] gamecore/scenemanager: draw the world before drawing the scene --- gamecore/scenemanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamecore/scenemanager.lua b/gamecore/scenemanager.lua index bbb9b08..5a9f88f 100644 --- a/gamecore/scenemanager.lua +++ b/gamecore/scenemanager.lua @@ -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