Added spawn from airbase code

The spawn from airbase code has been added. A couple of fixes to the UnitDataTable.
This commit is contained in:
Pax1601
2023-03-21 21:22:29 +01:00
parent 2d47b93445
commit 2212162239
10 changed files with 107 additions and 138 deletions

View File

@@ -66,6 +66,8 @@ export class AirbaseContextMenu extends ContextMenu {
getMap().showMapContextMenu({originalEvent: {x: this.getX(), y: this.getY(), latlng: this.getLatLng()}});
getMap().getMapContextMenu().hideUpperBar();
getMap().getMapContextMenu().showSubMenu("aircraft");
getMap().getMapContextMenu().setAirbaseName(this.#airbase.getName());
getMap().getMapContextMenu().setLatLng(this.#airbase.getLatLng());
}
}
}