From a33a2ebeb63a239810d3afd54827be45cfa823d2 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 17 May 2014 21:39:51 +0200 Subject: [PATCH] Remove some now unneeded code --- naja/scenes/puzzlelist.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.34.1