rust/landgen/src/outline.rs
changeset 14093 dbaa125a0fe9
parent 14081 5d42204ac35e
child 14095 b2feb190e4bc
--- a/rust/landgen/src/outline.rs	Fri Nov 02 20:30:13 2018 +0300
+++ b/rust/landgen/src/outline.rs	Fri Nov 02 20:46:17 2018 +0300
@@ -170,7 +170,7 @@
             let old_len = self.total_len();
             self.divide_edges(random_numbers);
 
-            if self.total_len() != old_len {
+            if self.total_len() == old_len {
                 break;
             }
         }