diff options
Diffstat (limited to 'features/waypoints/index.js')
-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 d13a897..8c4be05 100644 --- a/features/waypoints/index.js +++ b/features/waypoints/index.js @@ -105,7 +105,7 @@ class Waypoints extends Feature { for(let waypoint of this.waypoints){ drawCoolWaypoint(waypoint.x, waypoint.y, waypoint.z, waypoint.r, waypoint.g, waypoint.b, waypoint.options) } - for(let waypoint of this.userWaypointsArr){ //TODO: Make hash from waypoint.area -> waypoints[] + for(let waypoint of this.userWaypointsArr){ //TODO: Performance optimisation: Make hash from waypoint.area -> waypoints[] if(!waypoint.area || this.FeatureManager.features["dataLoader"].class.area === waypoint.area){ drawCoolWaypoint(waypoint.x, waypoint.y, waypoint.z, waypoint.r, waypoint.g, waypoint.b, {...waypoint.options}) } |