From e93e21e8016e96e4808d47af6b4c2ea128ebb5f8 Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Tue, 6 Sep 2016 20:53:36 +0200 Subject: [PATCH] Automatically load a station for now. --- tabakrolletjie/scenes/menu.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tabakrolletjie/scenes/menu.py b/tabakrolletjie/scenes/menu.py index 33bb0ef..ed7cc31 100644 --- a/tabakrolletjie/scenes/menu.py +++ b/tabakrolletjie/scenes/menu.py @@ -7,6 +7,11 @@ from ..events import QuitEvent, SceneChangeEvent class MenuScene(BaseScene): + def enter(self, gamestate): + if gamestate.station is None: + print "Loading Station Alpha ..." + gamestate.load_station("station-alpha.json") + def render(self, surface, gamestate): surface.fill((0, 255, 0)) -- 2.34.1