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): for _ in range(20):
random_group = random.choice(all_cabinet_lamps) random_group = random.choice(all_cabinet_lamps)
random_group.toggleRandom(0.2) random_group.toggleRandom(0.2)
if not self.isIdle: if not self.isIdle:
return return
for lamps in all_cabinet_lamps: for lamps in all_cabinet_lamps:
for lamp in lamps.lamps: for lamp in lamps.lamps:
lamp.activate() lamp.activate()