diff options
-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() } |