This commit is contained in:
Jonas Zeunert
2022-06-07 01:18:57 +02:00
parent 3a8ee6b70c
commit 7ba27978d7

View File

@@ -28,7 +28,7 @@ class LampGroup:
self.currentLampPtr += 1 self.currentLampPtr += 1
def deactivateCurrent(self): def deactivateCurrent(self):
self.lamps[self.currentLamp].deactivate() self.lamps[self.currentLampPtr].deactivate()
if self.currentLampPtr == 0: if self.currentLampPtr == 0:
return return