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:
parent
2892603f70
commit
d7ef4fa77d
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user