somehow this didnt work
This commit is contained in:
parent
953a2836dc
commit
3651b6fb70
@ -148,6 +148,9 @@ leds_off_toggle = False
|
||||
# of the timer equation
|
||||
timer_led_updated = 0
|
||||
|
||||
# disabled constant led updating by default
|
||||
leds_constant_update = False
|
||||
|
||||
############################################
|
||||
######## END OF PRE-INITIALISATION #########
|
||||
############################################
|
||||
@ -556,6 +559,7 @@ while True:
|
||||
led_handler()
|
||||
print(str(pygame.time.get_ticks()))
|
||||
print(str(int((pygame.time.get_ticks()/100))%2))
|
||||
print(str(leds_constant_update))
|
||||
|
||||
if game_running == False and game_ending == False:
|
||||
# one shot for changing the led colour
|
||||
|
Loading…
Reference in New Issue
Block a user