From b048864dfd2b5728f182b69ac585d8f09a1c30ea Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 9 Sep 2016 12:12:59 +0200 Subject: [PATCH] Render turnips in same order for day and night --- tabakrolletjie/scenes/day.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tabakrolletjie/scenes/day.py b/tabakrolletjie/scenes/day.py index 2d91a69..a3e4347 100644 --- a/tabakrolletjie/scenes/day.py +++ b/tabakrolletjie/scenes/day.py @@ -56,11 +56,11 @@ class DayScene(BaseScene): @debug_timer("day.render") def render(self, surface, gamestate): surface.fill((0, 0, 155)) + for turnip in self._turnips: + turnip.render(surface) self._lights.render_light(surface) self._obstacles.render(surface) self._lights.render_fittings(surface) - for turnip in self._turnips: - turnip.render(surface) surface.blit(self._toolbar, (120, 10), None) for tool in self._tools: tool.render(surface) -- 2.34.1