mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Fixed callback error on loading of URi
This commit is contained in:
@@ -641,7 +641,8 @@ export class Map extends L.Map {
|
||||
}
|
||||
else if (this.#state === SPAWN_UNIT) {
|
||||
if (this.#spawnRequestTable !== null) {
|
||||
const location = this.getMouseCoordinates();
|
||||
const location = e.latlng;
|
||||
this.#spawnRequestTable.unit.location = e.latlng;
|
||||
getApp().getUnitsManager().spawnUnits(
|
||||
this.#spawnRequestTable.category,
|
||||
[ this.#spawnRequestTable.unit ],
|
||||
|
||||
Reference in New Issue
Block a user