Allowed not specifying the gameID
This commit is contained in:
@ -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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user