einrücken

This commit is contained in:
Jonas Zeunert
2022-09-01 00:47:40 +02:00
parent 9725c69118
commit 00122949c2

View File

@@ -81,8 +81,8 @@ class GameState:
for _ in range(20):
random_group = random.choice(all_cabinet_lamps)
random_group.toggleRandom(0.2)
if not self.isIdle:
return
if not self.isIdle:
return
for lamps in all_cabinet_lamps:
for lamp in lamps.lamps:
lamp.activate()