mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 15:40:26 +00:00
nilrider:: save config
This commit is contained in:
parent
121b3f2d58
commit
764afbcd11
@ -377,6 +377,15 @@ void settings() {
|
|||||||
dialog::add_key_action('r', [] {
|
dialog::add_key_action('r', [] {
|
||||||
pushScreen(showSettings);
|
pushScreen(showSettings);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
#if CAP_FILES && !ISWEB
|
||||||
|
dialog::addItem("save the current config", 's');
|
||||||
|
dialog::add_action([] {
|
||||||
|
dynamicval<eGeometry> g(geometry, gNormal);
|
||||||
|
saveConfig();
|
||||||
|
});
|
||||||
|
#endif
|
||||||
|
|
||||||
dialog::addBreak(100);
|
dialog::addBreak(100);
|
||||||
dialog::addBack();
|
dialog::addBack();
|
||||||
dialog::display();
|
dialog::display();
|
||||||
|
Loading…
Reference in New Issue
Block a user