From 94ea1ae2f05726f449cc4d47369ce36fd049f4db Mon Sep 17 00:00:00 2001 From: Bram van den Heuvel Date: Wed, 1 Jul 2026 23:10:16 +0200 Subject: [PATCH] HOTFIX: Enforce player's supported list of games --- elo_tracker/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)