Remove some now unneeded code
authorNeil <neil@dip.sun.ac.za>
Sat, 17 May 2014 19:39:51 +0000 (21:39 +0200)
committerNeil <neil@dip.sun.ac.za>
Sat, 17 May 2014 19:40:11 +0000 (21:40 +0200)
naja/scenes/puzzlelist.py

index 670b6b15cad540f4c306ea5739b17225b832114c..4baab4bb66712696f302ff92b5e427e90cfe23a6 100644 (file)
@@ -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)