Call Menu.__init__ with state in __main__.
authorSimon Cross <hodgestar@gmail.com>
Sun, 11 May 2014 17:10:21 +0000 (19:10 +0200)
committerSimon Cross <hodgestar@gmail.com>
Sun, 11 May 2014 17:10:21 +0000 (19:10 +0200)
naja/__main__.py

index 98ee298e62ad0c12df4ce94636077fce3a15ebb2..70330cbbd82173d8184a4095184ae82e468676d0 100644 (file)
@@ -23,7 +23,7 @@ def main():
 
     screen = pygame.display.get_surface()
     state = GameState()
-    scene = MenuScene()
+    scene = MenuScene(state)
     engine = Engine(screen, scene, state)
     engine.run()