X-Git-Url: https://git.ctpug.org.za/?p=naja.git;a=blobdiff_plain;f=naja%2Fscenes%2Fpuzzlelist.py;h=670b6b15cad540f4c306ea5739b17225b832114c;hp=f9c51c1fa13b1a0dbddf5bc9126247ae1a7e1adb;hb=68445d365c053ecfad14680003a6fce97453ef13;hpb=2bc3952e185343ae2ff75f3f8ed738561858f61b diff --git a/naja/scenes/puzzlelist.py b/naja/scenes/puzzlelist.py index f9c51c1..670b6b1 100644 --- a/naja/scenes/puzzlelist.py +++ b/naja/scenes/puzzlelist.py @@ -48,11 +48,8 @@ class PuzzleListScene(Scene): def start_puzzle_game(self, event, puzzle=None, deck=None): from naja.scenes.game import GameScene - max_health = deck.get('max_health', 4) - wins_required = deck.get('wins_required', 4) level = 'puzzles/%s' % puzzle - state = GameState.new(deck=level, max_health=max_health, - wins_required=wins_required) + state = GameState.new(deck=level) LoadGameEvent.post(state=state) SceneChangeEvent.post(GameScene)