From ac4bec7b9a9feb8372ede945f9869c197789c660 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Thu, 6 Oct 2022 17:32:46 +0800 Subject: Location hud element --- src/featureClass/featureManager.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/featureClass') diff --git a/src/featureClass/featureManager.js b/src/featureClass/featureManager.js index eb2f0f9..0369dca 100644 --- a/src/featureClass/featureManager.js +++ b/src/featureClass/featureManager.js @@ -759,7 +759,11 @@ class FeatureManager { let loadedFeatures = new Map() + this.loadFeature("dataLoader") + Object.keys(this.featureMetas).forEach((feature) => { + if (feature === "dataLoader") return + if (this.featureSettingsData[feature] && this.featureSettingsData[feature].enabled) { loadedFeatures.set(feature, false) new Thread(() => { -- cgit