Merge branch 'develop' into pathfinding

This commit is contained in:
Manuel Vögele committed 2022-02-01 02:59:27 +01:00
commit 6ce076fa43
1 file changed
+1 -1
+1 -1
View File
@@ -116,7 +116,7 @@ export function extendRuler() {
}
dragRulerRemovePathfindingWaypoints() {
this.waypoints.filter(waypoint => waypoint.isPathfinding).forEach(_ => this.labels.removeChild(this.labels.children.pop()));
this.waypoints.filter(waypoint => waypoint.isPathfinding).forEach(_ => this.labels.removeChild(this.labels.children[this.labels.children.length - 1]).destroy());
this.waypoints = this.waypoints.filter(waypoint => !waypoint.isPathfinding);
}