X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=naja%2Fgamestate.py;h=c3bc0ce96b75c27bd14bbe49b3daad3c20ee0ef9;hb=1bf224b6352ac04d3172cf11b50246ef2e62fce0;hp=134fba3bad70649c1ed39b6bc08c1c2b535839d0;hpb=e899f94fa2121f777f620edec954f97618b3d621;p=naja.git diff --git a/naja/gamestate.py b/naja/gamestate.py index 134fba3..c3bc0ce 100644 --- a/naja/gamestate.py +++ b/naja/gamestate.py @@ -22,8 +22,8 @@ class GameState(object): self.gameboard = gameboard @classmethod - def new(cls, **kw): - locations_deck = load_location_deck('standard') + def new(cls, deck='standard', **kw): + locations_deck = load_location_deck(deck) return cls(GameBoard.new_game(locations_deck['cards'], **kw)) @classmethod