diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-05-15 13:47:44 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-05-15 13:47:44 +0800 |
commit | 62bb98cb9576f23c8cc2c06446b52ad4aa4a4884 (patch) | |
tree | 71b5ad63056fa05873594bbeb27656219bc34c8f /features/dataLoader | |
parent | 7112c1e3da740b20857c6d9eefd2803632f3d248 (diff) | |
download | SoopyV2-62bb98cb9576f23c8cc2c06446b52ad4aa4a4884.tar.gz SoopyV2-62bb98cb9576f23c8cc2c06446b52ad4aa4a4884.tar.bz2 SoopyV2-62bb98cb9576f23c8cc2c06446b52ad4aa4a4884.zip |
fix dungeon map
Diffstat (limited to 'features/dataLoader')
-rw-r--r-- | features/dataLoader/index.js | 5 |
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() |