Allowed not specifying the gameID

This commit is contained in:
2025-06-16 13:48:39 -04:00
parent 67d84edcf5
commit 64bb9f7eec

View File

@ -23,7 +23,7 @@ class PlayersManager:
""" """
defaultPlayerConfig = {"flags": [], "expansions": {}, "games": {}} defaultPlayerConfig = {"flags": [], "expansions": {}, "games": {}}
def __init__(self, gameID: str, activePlayers: list[str]=None, playersPath: str='./players.json', loggerID: str='Players'): def __init__(self, gameID: str=None, activePlayers: list[str]=None, playersPath: str='./players.json', loggerID: str='Players'):
""" """
Initialises a list of players. Initialises a list of players.