From 694e5666a0134fb83743b4329383bea47a373710 Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Wed, 7 Sep 2016 23:29:11 +0200 Subject: [PATCH] Add ticks for lights. --- tabakrolletjie/scenes/day.py | 2 +- tabakrolletjie/scenes/night.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tabakrolletjie/scenes/day.py b/tabakrolletjie/scenes/day.py index 20b297e..87193e8 100644 --- a/tabakrolletjie/scenes/day.py +++ b/tabakrolletjie/scenes/day.py @@ -37,4 +37,4 @@ class DayScene(BaseScene): @debug_timer("day.tick") def tick(self, gamestate): - pass + self._lights.tick() diff --git a/tabakrolletjie/scenes/night.py b/tabakrolletjie/scenes/night.py index b4e19e8..6944f5f 100644 --- a/tabakrolletjie/scenes/night.py +++ b/tabakrolletjie/scenes/night.py @@ -40,3 +40,4 @@ class NightScene(BaseScene): @debug_timer("night.tick") def tick(self, gamestate): self._mould.tick(gamestate, self._space, self._lights) + self._lights.tick() -- 2.34.1