parent
c9899c5d65
commit
94ea1ae2f0
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue