mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
fix: Aligned tanker orbit behaviour
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user