Update placement to changed API
authorNeil <neil@dip.sun.ac.za>
Sat, 10 Sep 2016 10:56:27 +0000 (12:56 +0200)
committerNeil <neil@dip.sun.ac.za>
Sat, 10 Sep 2016 10:56:27 +0000 (12:56 +0200)
tabakrolletjie/scenes/day.py

index 162a30b9a1317bf110729665bfcbabbe4ce9015c..3e001eef4e11ed83e0bd9b04d486f0ede52de375 100644 (file)
@@ -141,7 +141,7 @@ class DayScene(BaseScene):
             self._update_toolbar(gamestate)
             cfg = {
                 "type": "spotlight",
-                "colour": colour,
+                "colours": [colour],
                 "position": pos,
                 "direction": 45,
                 "spread": 90,
@@ -162,7 +162,7 @@ class DayScene(BaseScene):
             self._update_toolbar(gamestate)
             cfg = {
                 "type": "lamp",
-                "colour": colour,
+                "colours": [colour],
                 "position": pos,
                 "intensity": 0.5,
             }