Merge pull request #119 from Pax1601/91-spawn-from-airbase-not-working

Added spawn from airbase code
This commit is contained in:
Pax1601
2023-03-22 17:18:04 +01:00
committed by GitHub
10 changed files with 107 additions and 138 deletions

View File

@@ -72,6 +72,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());
}
}
}