preferredgame
This commit is contained in:
@@ -402,6 +402,7 @@ def run():
|
|||||||
current_preferred_game = (current_preferred_game + 1) % max(len(games), 1)
|
current_preferred_game = (current_preferred_game + 1) % max(len(games), 1)
|
||||||
|
|
||||||
last_switch = now
|
last_switch = now
|
||||||
|
print(preferred_games[current_preferred_game])
|
||||||
draw_single_game(canvas, preferred_games[current_preferred_game])
|
draw_single_game(canvas, preferred_games[current_preferred_game])
|
||||||
else:
|
else:
|
||||||
# no games available, just draw placeholder
|
# no games available, just draw placeholder
|
||||||
|
|||||||
Reference in New Issue
Block a user