aboutsummaryrefslogtreecommitdiff
path: root/features/dataLoader
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-11-30 23:28:02 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-11-30 23:28:02 +0800
commit71ae701c364f586c34ae2d1e5f82e4df89e1d851 (patch)
tree8ed41d1b9fbdf72bbf256cb60d83a82adf8446b6 /features/dataLoader
parent5f481b984dfeb8ec6d6eb1762928726d728e775d (diff)
downloadSoopyV2-71ae701c364f586c34ae2d1e5f82e4df89e1d851.tar.gz
SoopyV2-71ae701c364f586c34ae2d1e5f82e4df89e1d851.tar.bz2
SoopyV2-71ae701c364f586c34ae2d1e5f82e4df89e1d851.zip
Allow for dynamic updating of module code in the fly
Diffstat (limited to 'features/dataLoader')
-rw-r--r--features/dataLoader/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/dataLoader/index.js b/features/dataLoader/index.js
index 41f0c61..43b0f7a 100644
--- a/features/dataLoader/index.js
+++ b/features/dataLoader/index.js
@@ -46,7 +46,7 @@ class DataLoader extends Feature {
}
loadApiData(type, soopyServer){
- while(this.FeatureManager.features["globalSettings"] === undefined){
+ while(this.FeatureManager.features["globalSettings"] === undefined || this.FeatureManager.features["globalSettings"].class.apiKeySetting === undefined){
Thread.sleep(100)
}
let key = this.FeatureManager.features["globalSettings"].class.apiKeySetting.getValue()