mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
fix: Units are spawned at 0,0
This commit is contained in:
@@ -69,7 +69,7 @@ export function UnitSpawnMenu(props: {
|
||||
const setSpawnRequestTableCallback = useCallback(() => {
|
||||
if (spawnRequestTable) {
|
||||
/* Refresh the unique key identified */
|
||||
const tempTable = {...spawnRequestTable} as any;
|
||||
const tempTable = JSON.parse(JSON.stringify(spawnRequestTable));
|
||||
delete tempTable.quickAccessName;
|
||||
delete tempTable.unit.location;
|
||||
delete tempTable.unit.altitude;
|
||||
|
||||
Reference in New Issue
Block a user