X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=naja%2Fgamestate.py;h=19051a42b8c1d450d4f4b43a0662610f4ad56825;hb=87a82ccb10b6f7b07c48f8e9993243b9592e00b4;hp=c3bc0ce96b75c27bd14bbe49b3daad3c20ee0ef9;hpb=5dd0651aca74ffdac3c6c069fde62e43dc6960bd;p=naja.git diff --git a/naja/gamestate.py b/naja/gamestate.py index c3bc0ce..19051a4 100644 --- a/naja/gamestate.py +++ b/naja/gamestate.py @@ -23,8 +23,8 @@ class GameState(object): @classmethod def new(cls, deck='standard', **kw): - locations_deck = load_location_deck(deck) - return cls(GameBoard.new_game(locations_deck['cards'], **kw)) + deck = load_location_deck(deck) + return cls(GameBoard.new_game(deck, **kw)) @classmethod def load(cls, data):