aboutsummaryrefslogtreecommitdiff
path: root/src/featureClass
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-09-25 18:48:55 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-09-25 18:48:55 +0800
commitc24f8369cb7a368c1c89404c2860f4f2f4b78014 (patch)
treed5cea5f3286c516b69a1d8a9fb2943606f992963 /src/featureClass
parentd8ccaa30858f37f5e5fa087c6f8b126c2c37ea58 (diff)
downloadSoopyV2-c24f8369cb7a368c1c89404c2860f4f2f4b78014.tar.gz
SoopyV2-c24f8369cb7a368c1c89404c2860f4f2f4b78014.tar.bz2
SoopyV2-c24f8369cb7a368c1c89404c2860f4f2f4b78014.zip
smol changes
Diffstat (limited to 'src/featureClass')
-rw-r--r--src/featureClass/featureManager.js11
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)
}