diff --git a/devmods/rulegen-tests.cpp b/devmods/rulegen-tests.cpp index 947d4790..506ad502 100644 --- a/devmods/rulegen-tests.cpp +++ b/devmods/rulegen-tests.cpp @@ -801,6 +801,7 @@ void test_current(string tesname) { if(flags & w_known_structure) { dynamicval f(rulegen::flags, sub_rulegen_flags); prepare_rules(); + if(!known()) return; alt_treestates = treestates; pointer_indices.clear(); }