1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-25 22:53:19 +00:00

rulegen:: fixed a bug with sidecache not clearing on single_live_branch_close_to_root

This commit is contained in:
Zeno Rogue 2021-11-01 17:25:39 +01:00
parent 233934630f
commit cca9afaba9

View File

@ -1703,6 +1703,7 @@ EX void rules_iteration() {
if(debugflags & DF_GEOM)
println(hlog, "changed single_live_branch_close_to_root from ", q, " to ", v);
debuglist = { treestates[id].giver };
sidecache.clear();
throw rulegen_retry("single live branch");
}
if(treestates[id].is_root) examine_branch(id, last_live_branch, first_live_branch);