From f565ee8ccf8c3c3e9998ac1718b115f93af7c3fb Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Tue, 31 May 2022 08:35:51 +0800 Subject: fix second waypoints bug --- features/waypoints/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() } -- cgit