List levels by title.
[tabakrolletjie.git] / tabakrolletjie / scenes / menu.py
index 7a4366aedeb4a686e7c7060dbb4368124c7610ed..9dc54c1ceb93a4d14dd81f11f0e81cb535c35b1b 100644 (file)
@@ -13,7 +13,7 @@ class MenuScene(BaseScene):
     def enter(self, gamestate):
         if gamestate.station is None:
             print "Loading Station Alpha ..."
-            gamestate.load_station("station-alpha.json")
+            gamestate.set_station(loader.load_station("station-alpha.json"))
         font_title = loader.load_font(FONTS['bold'], size=32)
         self._title = font_title.render('A Game with a title', True,
                                         (255, 255, 255))