Add turnips to the space and check for collisions when planting them
[tabakrolletjie.git] / tabakrolletjie / scenes / night.py
index 1c4097a72d26837e6536b055e210ac80fb43b2cb..3f63f872dd408b8a16963b343821b60b3eca6c6c 100644 (file)
@@ -21,7 +21,7 @@ class NightScene(BaseScene):
         self._mould = Boyd(gamestate, self._space)
         self._turnips = []
         for turnip_data in gamestate.turnips:
-            turnip = Turnip(**turnip_data)
+            turnip = Turnip(space=self._space, **turnip_data)
             self._turnips.append(turnip)