From 051f941fcf7095e5a6b93f538f8a9bb867067ca7 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 10 Sep 2016 12:56:27 +0200 Subject: [PATCH] Update placement to changed API --- 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 162a30b..3e001ee 100644 --- a/tabakrolletjie/scenes/day.py +++ b/tabakrolletjie/scenes/day.py @@ -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, } -- 2.34.1