1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +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 #endif
dialog::addBreak(100);
#if CAP_FILES #if CAP_FILES
dialog::addItem("save the current config", 's'); dialog::addItem("save the current config", 's');
dialog::add_action([] { dialog::add_action([] {
@ -1200,6 +1202,8 @@ void settings_menu() {
saveConfig(); saveConfig();
}); });
#endif #endif
dialog::addBack();
dialog::display(); dialog::display();
} }