From c24f8369cb7a368c1c89404c2860f4f2f4b78014 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Sun, 25 Sep 2022 18:48:55 +0800 Subject: smol changes --- src/featureClass/featureManager.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/featureClass') diff --git a/src/featureClass/featureManager.js b/src/featureClass/featureManager.js index 30e7525..6974f46 100644 --- a/src/featureClass/featureManager.js +++ b/src/featureClass/featureManager.js @@ -182,11 +182,12 @@ class FeatureManager { this.registerCommand("soopysetlongeventtime", (args) => { this.longEventTime = parseInt(args) }, this) - this.registerCommand("soopylaginformation", (args) => { - this.loadPerformanceData() - }, this) - this.registerCommand("soopylaginformationfast", (args) => { - this.loadPerformanceDataFast() + this.registerCommand("soopylaginformation", (full) => { + if (full === "full") { + this.loadPerformanceData() + } else { + this.loadPerformanceDataFast() + } }, this) } -- cgit