aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-05-31 08:35:51 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-05-31 08:35:51 +0800
commitf565ee8ccf8c3c3e9998ac1718b115f93af7c3fb (patch)
treebab34355b30cbd8ed3e31d7fab57366b78400443
parent675740e0060a2a44909a96326822fc014f9563e6 (diff)
downloadSoopyV2-f565ee8ccf8c3c3e9998ac1718b115f93af7c3fb.tar.gz
SoopyV2-f565ee8ccf8c3c3e9998ac1718b115f93af7c3fb.tar.bz2
SoopyV2-f565ee8ccf8c3c3e9998ac1718b115f93af7c3fb.zip
fix second waypoints bug
-rw-r--r--features/waypoints/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/waypoints/index.js b/features/waypoints/index.js
index 2dfe46f..7c240ce 100644
--- a/features/waypoints/index.js
+++ b/features/waypoints/index.js
@@ -149,7 +149,7 @@ class Waypoints extends Feature {
}
let area = this.FeatureManager.features["dataLoader"] ? this.FeatureManager.features["dataLoader"].class.area : "NONE"
if (this.lastArea && this.lastArea !== area) {
- if (this.userWaypointsHash[lastArea]) {
+ if (this.userWaypointsHash[this.lastArea]) {
for (let waypoint of this.userWaypointsHash[lastArea]) {
waypoint.stopRender()
}