mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-04-26 10:41:22 +00:00
fixed symbol changed enable archimedean unexpectedly
This commit is contained in:
@@ -1495,7 +1495,7 @@ EX void initConfig() {
|
||||
auto arcms = param_str(arcm::current.symbol, "arcm-symbol", "4^5");
|
||||
arcms->editor = [] { pushScreen(arcm::show); arcm::init_symbol_edit(); };
|
||||
arcms->pre_reaction = non_editable_pre;
|
||||
arcms->reaction = [] { if(!arcm::load_symbol(arcm::current.symbol)) throw hr_parse_exception("wrong Archimedean symbol"); non_editable_post(); };
|
||||
arcms->reaction = [] { if(!arcm::load_symbol(arcm::current.symbol, false)) throw hr_parse_exception("wrong Archimedean symbol"); non_editable_post(); };
|
||||
#endif
|
||||
param_enum(hybrid::underlying, "product_underlying", hybrid::underlying)->be_non_editable();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user