mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-03 11:17:56 +00:00
rulegen:: rule_status is now logged
This commit is contained in:
@@ -1682,6 +1682,7 @@ EX bool prepare_rules() {
|
|||||||
rules_known_for = arb::current.name;
|
rules_known_for = arb::current.name;
|
||||||
rule_status = XLAT("rules generated successfully: %1 states using %2-%3 cells",
|
rule_status = XLAT("rules generated successfully: %1 states using %2-%3 cells",
|
||||||
its(isize(treestates)), its(tcellcount), its(tunified));
|
its(isize(treestates)), its(tcellcount), its(tunified));
|
||||||
|
if(debugflags & DF_GEOM) println(hlog, rule_status);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
catch(rulegen_retry& e) {
|
catch(rulegen_retry& e) {
|
||||||
@@ -1693,6 +1694,7 @@ EX bool prepare_rules() {
|
|||||||
catch(rulegen_failure& e) {
|
catch(rulegen_failure& e) {
|
||||||
rule_status = XLAT("bug: %1", e.what());
|
rule_status = XLAT("bug: %1", e.what());
|
||||||
}
|
}
|
||||||
|
if(debugflags & DF_GEOM) println(hlog, rule_status);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user