diff --git a/lib/src/Engine.dart b/lib/src/Engine.dart index 9855d14..36ab89a 100644 --- a/lib/src/Engine.dart +++ b/lib/src/Engine.dart @@ -102,7 +102,7 @@ class Engine { /// If simulation should be advanced manually one time, prefer using step(). void update() { // TODO: create hasUpdated/hasAdvanced method in simulation to abstract actual updating away - if (_grid.update().length != 0) running = false; + if (_grid.update().length == 0) running = false; } /// Advances Logic One Update