From: Neil Date: Sat, 10 Sep 2016 10:56:27 +0000 (+0200) Subject: Update placement to changed API X-Git-Tag: tabakrolletjie-v1.0.0~125 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=051f941fcf7095e5a6b93f538f8a9bb867067ca7;p=tabakrolletjie.git Update placement to changed API --- 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, }