Commit d2b8d2e6 authored by captnfab's avatar captnfab 🦃
Browse files

Resume battle as 2nd entry in menu

parent 544df489
......@@ -54,13 +54,17 @@ class GuiMenu:
## First meny entry is either sart or resume game
if self.rnd.state.options.get('old_stage', None) is not None:
self.menu_entries += [
(_("Continue the game"), 'r', Stage.NEWGAME, {"restore": True}),
(_("Restart the game"), 'n', Stage.NEWGAME, {"restore": False}),
(_("Continue the game"), 'r', Stage.NEWGAME, {"restore": True}),
]
# Initially select resume game
self.menu_index = 1
else:
self.menu_entries += [
(_("Start the game"), 'n', Stage.NEWGAME, {"restore": False}),
]
# Initially select new game
self.menu_index = 0
self.menu_entries += [
(_("Manage options"), 'o', Stage.OPTIONS, {}),
(_("See credits"), 'c', Stage.CREDITS, {}),
......@@ -87,9 +91,6 @@ class GuiMenu:
self.menu_sprites.append((rect, inactive, active))
# Initially select first entry
self.menu_index = 0
def update(self):
pass
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment