diff options
Diffstat (limited to 'src/features/waypoints/index.js')
-rw-r--r-- | src/features/waypoints/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features/waypoints/index.js b/src/features/waypoints/index.js index ef5a5b8..6ee3368 100644 --- a/src/features/waypoints/index.js +++ b/src/features/waypoints/index.js @@ -375,7 +375,7 @@ class Waypoints extends Feature { for (let waypoint of this.patcherWaypoints) { waypoint[1].update() } - let area = this.FeatureManager.features["dataLoader"] ? this.FeatureManager.features["dataLoader"].class.area : "NONE" + let area = this.FeatureManager.features["dataLoader"].class.area if (this.lastArea && this.lastArea !== area) { if (this.userWaypointsHash[this.lastArea]) { for (let waypoint of this.userWaypointsHash[lastArea]) { |