mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Fixed IADS creation and added livery/skill selection for units
This commit is contained in:
@@ -44,7 +44,7 @@ export class CoalitionPolygon extends Polygon {
|
||||
});
|
||||
|
||||
this.on("remove", () => {
|
||||
this.#label.removeFrom(this._map);
|
||||
this.#label?.removeFrom(this._map);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -1048,7 +1048,7 @@ export class Map extends L.Map {
|
||||
.getUnitsManager()
|
||||
.spawnUnits(
|
||||
this.#spawnRequestTable.category,
|
||||
[this.#spawnRequestTable.unit],
|
||||
Array(this.#spawnRequestTable.amount).fill(this.#spawnRequestTable.unit),
|
||||
this.#spawnRequestTable.coalition,
|
||||
false,
|
||||
undefined,
|
||||
|
||||
Reference in New Issue
Block a user