From 7ba27978d71b2eb2eb731ff40deabbccd2512cef Mon Sep 17 00:00:00 2001 From: Jonas Zeunert Date: Tue, 7 Jun 2022 01:18:57 +0200 Subject: [PATCH] bugfix --- lamps/LampGroup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lamps/LampGroup.py b/lamps/LampGroup.py index 4bbbef6..f21c152 100644 --- a/lamps/LampGroup.py +++ b/lamps/LampGroup.py @@ -28,7 +28,7 @@ class LampGroup: self.currentLampPtr += 1 def deactivateCurrent(self): - self.lamps[self.currentLamp].deactivate() + self.lamps[self.currentLampPtr].deactivate() if self.currentLampPtr == 0: return