aboutsummaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-03-30 13:57:52 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-03-30 13:57:52 +0800
commit527295c52ac1560ce270e4da00742fe33ffbd7a1 (patch)
tree15b04f62e8babf62fba0a009f78efd02efd9e96b /features
parent1e25b92fe2a47644ca6a25a25976d89a5c7a6e8c (diff)
downloadSoopyV2-527295c52ac1560ce270e4da00742fe33ffbd7a1.tar.gz
SoopyV2-527295c52ac1560ce270e4da00742fe33ffbd7a1.tar.bz2
SoopyV2-527295c52ac1560ce270e4da00742fe33ffbd7a1.zip
Make doing /l /play sb load in diana waypoints much faster
Diffstat (limited to 'features')
-rw-r--r--features/events/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/events/index.js b/features/events/index.js
index 6e12d9f..85df364 100644
--- a/features/events/index.js
+++ b/features/events/index.js
@@ -147,7 +147,7 @@ class Events extends Feature {
}
})
- let showingWaypointsNew = (this.lastWorldChange+5000<Date.now()?hasDianaShovle && this.FeatureManager.features["dataLoader"].class.area === "Hub" && this.burrialWaypointsEnabled.getValue():this.showingWaypoints)
+ let showingWaypointsNew = (this.lastWorldChange+5000<Date.now()?hasDianaShovle && this.FeatureManager.features["dataLoader"].class.area === "Hub" && this.burrialWaypointsEnabled.getValue():this.showingWaypoints || (hasDianaShovle && this.FeatureManager.features["dataLoader"].class.area === "Hub" && this.burrialWaypointsEnabled.getValue()))
if(!this.showingWaypoints && showingWaypointsNew){
this.loadApi()