diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2021-03-13 09:40:13 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2021-03-13 15:34:50 -0500 |
commit | b5327496baf28f0c5fefaa631fe586569b7f8dec (patch) | |
tree | f6ed3ccb234ffea5d05e6c1689fa8b23bdb36f2c /src | |
parent | 2581f03c00f5a14f49081d82eb8e1a31c31aae88 (diff) | |
download | tanetane-b5327496baf28f0c5fefaa631fe586569b7f8dec.tar.gz tanetane-b5327496baf28f0c5fefaa631fe586569b7f8dec.tar.bz2 tanetane-b5327496baf28f0c5fefaa631fe586569b7f8dec.zip |
Menu cursor should start at the top when opened
Even if it was left on a different option before closing the menu.
Diffstat (limited to 'src')
-rw-r--r-- | src/menu_system.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/menu_system.cpp b/src/menu_system.cpp index d3a310e..aaaa0e1 100644 --- a/src/menu_system.cpp +++ b/src/menu_system.cpp | |||
@@ -43,6 +43,8 @@ void MenuSystem::openPauseMenu() { | |||
43 | MenuBuilder().Command("Return to Main Menu"), | 43 | MenuBuilder().Command("Return to Main Menu"), |
44 | MenuBuilder().Command("Resume Game") | 44 | MenuBuilder().Command("Resume Game") |
45 | }); | 45 | }); |
46 | |||
47 | cursor_ = 0; | ||
46 | } | 48 | } |
47 | 49 | ||
48 | void MenuSystem::closePauseMenu() { | 50 | void MenuSystem::closePauseMenu() { |