From 07d74c28b90a3e5b73727156aa60b1234d3b7191 Mon Sep 17 00:00:00 2001 From: Raphael Forment Date: Sun, 13 Aug 2023 11:26:21 +0200 Subject: [PATCH] adding global iterator setter but doesn't reset properly --- src/API.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/API.ts b/src/API.ts index 499abc2..90f0538 100644 --- a/src/API.ts +++ b/src/API.ts @@ -601,6 +601,10 @@ export class UserAPI { return this.app.universes[this.app.selected_universe].global.evaluations } + set i(n: number) { + this.app.universes[this.app.selected_universe].global.evaluations = 0; + } + // ============================================================= // Time markers // =============================================================