Skip to content

Commit 364a0aa

Browse files
Update js/activity.js
relying on doStopTurtles() / markAllAsStopped() rather than re-setting running Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent e4528e2 commit 364a0aa

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

js/activity.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1726,11 +1726,6 @@ class Activity {
17261726
this.logo.doStopTurtles();
17271727
}
17281728

1729-
// Reset turtle running state before starting new run
1730-
for (let i = 0; i < this.turtles.turtleList.length; i++) {
1731-
this.turtles.getTurtle(i).running = false;
1732-
}
1733-
17341729
const currentDelay = this.logo.turtleDelay;
17351730
this.logo.turtleDelay = 0;
17361731
if (this.logo?.synth?.resume) {

0 commit comments

Comments
 (0)