From 86c945114d5d3fa3598ad0d9666cb9d00138dd69 Mon Sep 17 00:00:00 2001 From: "Jade (Rose) Rowland" Date: Sat, 23 Mar 2024 16:35:48 -0400 Subject: [PATCH] removed unessecary variable --- packages/core/neocyclist.mjs | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/core/neocyclist.mjs b/packages/core/neocyclist.mjs index 3ca40178..ebffed97 100644 --- a/packages/core/neocyclist.mjs +++ b/packages/core/neocyclist.mjs @@ -21,7 +21,6 @@ export class NeoCyclist { this.worker_time_dif; this.worker = new SharedWorker(new URL('./clockworker.js', import.meta.url)); this.worker.port.start(); - this.time_dif; this.channel = new BroadcastChannel('strudeltick'); let weight = 0; // the amount of weight that is applied to the current average when averaging a new time dif @@ -135,7 +134,6 @@ export class NeoCyclist { } stop() { this.worker_time_dif = null; - this.time_dif = null; logger('[cyclist] stop'); this.setStarted(false); }