bugfix
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user