diff --git a/elo_tracker/app.py b/elo_tracker/app.py index 2d8d20f..eff99ed 100644 --- a/elo_tracker/app.py +++ b/elo_tracker/app.py @@ -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)