asdfwaef
This commit is contained in:
@@ -83,6 +83,7 @@ class GameState:
|
||||
random_group.toggleRandom(0.2)
|
||||
if not self.isIdle:
|
||||
return
|
||||
|
||||
for lamps in all_cabinet_lamps:
|
||||
for lamp in lamps.lamps:
|
||||
lamp.activate()
|
||||
|
||||
@@ -30,12 +30,10 @@ class StartGameEvent(Event):
|
||||
if self.gameState.isStarted:
|
||||
return
|
||||
|
||||
if not self.gameState.isIdle:
|
||||
return
|
||||
|
||||
super().trigger(target)
|
||||
|
||||
self.gameState.stopIdleLoop()
|
||||
if self.gameState.isIdle:
|
||||
self.gameState.stopIdleLoop()
|
||||
|
||||
if self.timer is None:
|
||||
PLAYER_LAMPS.deactivate()
|
||||
|
||||
Reference in New Issue
Block a user