Stop timer when game stops
This commit is contained in:
parent
336edc8ba5
commit
55ecd0c30a
|
@ -63,6 +63,7 @@ def game_init():
|
||||||
|
|
||||||
def game_off():
|
def game_off():
|
||||||
"""Turn off game."""
|
"""Turn off game."""
|
||||||
|
get_timer().stop()
|
||||||
set_output(OUTPUTS.Lights, False)
|
set_output(OUTPUTS.Lights, False)
|
||||||
set_output(OUTPUTS.DogBox, False)
|
set_output(OUTPUTS.DogBox, False)
|
||||||
set_output(OUTPUTS.FrontCameraPower, False)
|
set_output(OUTPUTS.FrontCameraPower, False)
|
||||||
|
|
Loading…
Reference in New Issue