mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-08 13:25:59 +00:00
added some missing guards for CAP_RACING and CAP_COMMANDLINE
This commit is contained in:
@@ -1737,8 +1737,10 @@ EX void choose() {
|
||||
dialog::openFileDialog(tes, XLAT("open a tiling"), ".tes",
|
||||
[] () {
|
||||
run(tes);
|
||||
#if CAP_COMMANDLINE
|
||||
if(!current.options.empty())
|
||||
dialog::push_confirm_dialog([] { arg::run_arguments(current.options); start_game(); }, "load the settings defined in this file?");
|
||||
#endif
|
||||
return true;
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user