More work on follow and tanking (added combo tasks)

This commit is contained in:
Pax1601
2023-04-16 20:24:33 +02:00
parent 39698c66a3
commit 77d39c17b8
11 changed files with 158 additions and 114 deletions

View File

@@ -708,6 +708,25 @@ export class AircraftDatabase extends UnitDatabase {
],
"filename": "kc-135.png"
},
"KC135MPRS": {
"name": "KC135MPRS",
"label": "KC-135 MPRS",
"shortLabel": "135M",
"loadouts": [
{
"fuel": 1,
"items": [
],
"roles": [
"Tanker"
],
"code": "",
"name": "Default Tanker"
}
],
"filename": "kc-135.png"
},
"MiG-23MLD": {
"name": "MiG-23MLD",
"label": "MiG-23MLD",

View File

@@ -515,6 +515,9 @@ export class Unit extends Marker {
points.push(new LatLng(destination.lat, destination.lng));
this.#pathPolyline.setLatLngs(points);
}
if (points.length == 1)
this.#clearPath();
}
}