From 62bb98cb9576f23c8cc2c06446b52ad4aa4a4884 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Sun, 15 May 2022 13:47:44 +0800 Subject: fix dungeon map --- features/dataLoader/index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'features/dataLoader') 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() -- cgit