HOTFIX: Enforce player's supported list of games

main elo-tracker-1.0.1
Bram van den Heuvel 2026-07-01 23:10:16 +02:00
parent c9899c5d65
commit 94ea1ae2f0
1 changed files with 1 additions and 1 deletions

View File

@ -669,7 +669,7 @@ class EloTracker:
:raises ValueError: One of the randomly chosen URLs could not be accessed.
"""
with self.__lock:
players = [agent.url for agent in self.players]
players = [agent.url for agent in self.players if game.game_name() in agent.games]
random.shuffle(players)