diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-05-31 08:35:51 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-05-31 08:35:51 +0800 |
commit | f565ee8ccf8c3c3e9998ac1718b115f93af7c3fb (patch) | |
tree | bab34355b30cbd8ed3e31d7fab57366b78400443 | |
parent | 675740e0060a2a44909a96326822fc014f9563e6 (diff) | |
download | SoopyV2-f565ee8ccf8c3c3e9998ac1718b115f93af7c3fb.tar.gz SoopyV2-f565ee8ccf8c3c3e9998ac1718b115f93af7c3fb.tar.bz2 SoopyV2-f565ee8ccf8c3c3e9998ac1718b115f93af7c3fb.zip |
fix second waypoints bug
-rw-r--r-- | features/waypoints/index.js | 2 |
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() } |