From: Neil Date: Sat, 17 May 2014 19:39:51 +0000 (+0200) Subject: Remove some now unneeded code X-Git-Tag: 0.1~34^2~4 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=a33a2ebeb63a239810d3afd54827be45cfa823d2;p=naja.git Remove some now unneeded code --- diff --git a/naja/scenes/puzzlelist.py b/naja/scenes/puzzlelist.py index 670b6b1..4baab4b 100644 --- a/naja/scenes/puzzlelist.py +++ b/naja/scenes/puzzlelist.py @@ -42,11 +42,11 @@ class PuzzleListScene(Scene): (x_offset, y_offset), deck['description'], fontsize=32, colour='white', centre=True) callback = functools.partial(self.start_puzzle_game, - puzzle=puzzle, deck=deck) + puzzle=puzzle) puzzle_but.add_callback('click', callback) selector.add(puzzle_but) - def start_puzzle_game(self, event, puzzle=None, deck=None): + def start_puzzle_game(self, event, puzzle=None): from naja.scenes.game import GameScene level = 'puzzles/%s' % puzzle state = GameState.new(deck=level)