stoped blink from overriding manual controll

This commit is contained in:
CiscoTheWolf 2023-06-09 20:46:43 +02:00
parent 6a0af064ce
commit faa5b66587

View file

@ -131,9 +131,10 @@ def random_blinks():
proot_state = StateSingleton()
if proot_state.get_animations_ready():
proot_state.set_desired_expression(1)
time.sleep(0.2)
proot_state.set_desired_expression(0)
if proot_state.current_expression == proot_state.states[0]:
proot_state.set_desired_expression(1)
time.sleep(0.2)
proot_state.set_desired_expression(0)