aboutsummaryrefslogtreecommitdiff
path: root/features/dataLoader
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-05-15 13:47:44 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-05-15 13:47:44 +0800
commit62bb98cb9576f23c8cc2c06446b52ad4aa4a4884 (patch)
tree71b5ad63056fa05873594bbeb27656219bc34c8f /features/dataLoader
parent7112c1e3da740b20857c6d9eefd2803632f3d248 (diff)
downloadSoopyV2-62bb98cb9576f23c8cc2c06446b52ad4aa4a4884.tar.gz
SoopyV2-62bb98cb9576f23c8cc2c06446b52ad4aa4a4884.tar.bz2
SoopyV2-62bb98cb9576f23c8cc2c06446b52ad4aa4a4884.zip
fix dungeon map
Diffstat (limited to 'features/dataLoader')
-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()