From: Neil Date: Fri, 9 Sep 2016 10:12:59 +0000 (+0200) Subject: Render turnips in same order for day and night X-Git-Tag: tabakrolletjie-v1.0.0~169 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=b048864dfd2b5728f182b69ac585d8f09a1c30ea;p=tabakrolletjie.git Render turnips in same order for day and night --- 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)