aboutsummaryrefslogtreecommitdiff
path: root/features/dataLoader/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'features/dataLoader/index.js')
-rw-r--r--features/dataLoader/index.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/features/dataLoader/index.js b/features/dataLoader/index.js
index 21bfe76..f0ede23 100644
--- a/features/dataLoader/index.js
+++ b/features/dataLoader/index.js
@@ -47,8 +47,6 @@ class DataLoader extends Feature {
worldLoad() {
this.area = undefined
this.areaFine = undefined
-
- this.worldLoaded = true
}
loadApi() {
@@ -69,9 +67,8 @@ class DataLoader extends Feature {
if (!key) return
if (this.loadedApiDatas[type] !== undefined) {
- if (Date.now() - this.loadedApiDatas[type] < 5000 && !this.worldLoaded) return
+ if (Date.now() - this.loadedApiDatas[type] < 5000) return
}
- this.worldLoaded = false
this.loadedApiDatas[type] = Date.now()