fix: Aligned tanker orbit behaviour

This commit is contained in:
Davide Passoni
2025-03-26 10:15:10 +01:00
parent 40aa6fcfdc
commit 589479ba56
2 changed files with 2 additions and 5 deletions

View File

@@ -1947,9 +1947,6 @@ export abstract class Unit extends CustomMarker {
points.push(new LatLng(destination.lat, destination.lng));
}
/* Add racetrack anchor to the path, but only if we are an active tanker or AWACS */
if (this.getState() !== UnitState.IDLE && (this.getIsActiveAWACS() || this.getIsActiveTanker())) points.push(this.#racetrackAnchor);
this.#pathPolyline.setLatLngs(points);
if (points.length == 1) this.#clearPath();