Render turnips in same order for day and night
authorNeil <neil@dip.sun.ac.za>
Fri, 9 Sep 2016 10:12:59 +0000 (12:12 +0200)
committerNeil <neil@dip.sun.ac.za>
Fri, 9 Sep 2016 10:12:59 +0000 (12:12 +0200)
tabakrolletjie/scenes/day.py

index 2d91a69266fbb8010e57459ac7977f2363b3319f..a3e43475d72e63d36edde6cf4997a109cd0b1bcf 100644 (file)
@@ -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)