Mercurial > mamba
comparison mamba/__main__.py @ 548:af8e16742b23
Fix uncurated level loading.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Sun, 18 Sep 2011 03:06:55 +0200 |
parents | e94f2b7df88d |
children | 55e9c1b8e94c |
comparison
equal
deleted
inserted
replaced
547:5b2dcc6f8929 | 548:af8e16742b23 |
---|---|
45 OfficialLevelMenu.go_menu, | 45 OfficialLevelMenu.go_menu, |
46 OfficialLevelMenu.go_menu) | 46 OfficialLevelMenu.go_menu) |
47 elif options.uncurated is not None: | 47 elif options.uncurated is not None: |
48 api = UserLevelApi("uncurated") | 48 api = UserLevelApi("uncurated") |
49 start = LevelHabitat(api.get_level(options.uncurated), | 49 start = LevelHabitat(api.get_level(options.uncurated), |
50 sys.exit) | 50 sys.exit, sys.exit) |
51 else: | 51 else: |
52 start = MainMenu() | 52 start = MainMenu() |
53 | 53 |
54 engine = Engine() | 54 engine = Engine() |
55 engine.set_habitat(start) | 55 engine.set_habitat(start) |