1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-10-31 19:36:16 +00:00

back button in config

This commit is contained in:
Zeno Rogue 2020-10-26 20:05:04 +01:00
parent 2892603f70
commit d7ef4fa77d

View File

@ -1193,6 +1193,8 @@ void settings_menu() {
});
#endif
dialog::addBreak(100);
#if CAP_FILES
dialog::addItem("save the current config", 's');
dialog::add_action([] {
@ -1200,6 +1202,8 @@ void settings_menu() {
saveConfig();
});
#endif
dialog::addBack();
dialog::display();
}