mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-21 08:57:39 +00:00
added some missing CAP_ guards
This commit is contained in:
@@ -694,6 +694,7 @@ EX void world_list() {
|
||||
switch_to(c);
|
||||
dialog::end_list();
|
||||
dialog::addBreak(100);
|
||||
#if CAP_EDIT
|
||||
dialog::addItem("add a saved world to the scene", 'a');
|
||||
dialog::add_action([] {
|
||||
dialog::openFileDialog(levelfile, XLAT("level to load:"), ".lev", [] () {
|
||||
@@ -713,6 +714,7 @@ EX void world_list() {
|
||||
}
|
||||
});
|
||||
});
|
||||
#endif
|
||||
dialog::addBack();
|
||||
dialog::display();
|
||||
}
|
||||
|
Reference in New Issue
Block a user