From ac4bec7b9a9feb8372ede945f9869c197789c660 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Thu, 6 Oct 2022 17:32:46 +0800 Subject: Location hud element --- src/features/waypoints/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/features/waypoints') 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]) { -- cgit