1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-18 15:00:26 +00:00

fixed a bug in repeated cycle ignoring

This commit is contained in:
Zeno Rogue 2022-08-18 17:56:22 +02:00
parent 14f1da6de4
commit 437dce455a

View File

@ -1264,6 +1264,8 @@ EX void test_transducers() {
extract(autom, special[tid][dir], tid, dir);
}
set<cycle> checked;
if(!(flags & w_skip_transducer_loops)) for(int tid=0; tid<isize(t_origin); tid++) {
int id = 0;
@ -1273,8 +1275,6 @@ EX void test_transducers() {
be_productive(cum);
int id_size = isize(cum);
set<cycle> checked;
for(auto& cyc: cycle_data[tid]) {
if(checked.count(cyc)) {
continue;