fix: sort games in intermission by time left
This commit is contained in:
@@ -124,7 +124,7 @@ def calculate_game_priority(game):
|
|||||||
|
|
||||||
# Pushes the games that are in intermission to the bottom, but retains their sort
|
# Pushes the games that are in intermission to the bottom, but retains their sort
|
||||||
if game["clock"]["inIntermission"]:
|
if game["clock"]["inIntermission"]:
|
||||||
return (final_priority - 2000)
|
return (-2000 - time_remaining)
|
||||||
|
|
||||||
return final_priority
|
return final_priority
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user