From 2d85abb385e277ae41953121b1de587ea1635bb6 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Sat, 9 Apr 2022 19:44:09 +0800 Subject: make dungeon map skull images update if the player changes their skin --- features/waypoints/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features/waypoints/index.js') 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}) } -- cgit