diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-09-25 18:48:55 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-09-25 18:48:55 +0800 |
commit | c24f8369cb7a368c1c89404c2860f4f2f4b78014 (patch) | |
tree | d5cea5f3286c516b69a1d8a9fb2943606f992963 /src/featureClass | |
parent | d8ccaa30858f37f5e5fa087c6f8b126c2c37ea58 (diff) | |
download | SoopyV2-c24f8369cb7a368c1c89404c2860f4f2f4b78014.tar.gz SoopyV2-c24f8369cb7a368c1c89404c2860f4f2f4b78014.tar.bz2 SoopyV2-c24f8369cb7a368c1c89404c2860f4f2f4b78014.zip |
smol changes
Diffstat (limited to 'src/featureClass')
-rw-r--r-- | src/featureClass/featureManager.js | 11 |
1 files changed, 6 insertions, 5 deletions
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) } |