aboutsummaryrefslogtreecommitdiff
path: root/features/waypoints
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-04-09 19:44:09 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-04-09 19:44:09 +0800
commit2d85abb385e277ae41953121b1de587ea1635bb6 (patch)
treeed820ce6c3c2d13c4596473a8e2c1dc2ef07d212 /features/waypoints
parent46c2fd28691f3be2207445b44ff6d839ba9d17c6 (diff)
downloadSoopyV2-2d85abb385e277ae41953121b1de587ea1635bb6.tar.gz
SoopyV2-2d85abb385e277ae41953121b1de587ea1635bb6.tar.bz2
SoopyV2-2d85abb385e277ae41953121b1de587ea1635bb6.zip
make dungeon map skull images update if the player changes their skin
Diffstat (limited to 'features/waypoints')
-rw-r--r--features/waypoints/index.js2
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})
}