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:
parent
f80321a267
commit
a4452aee94
@ -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;
|
||||
|
||||
@ -238,7 +238,7 @@ module.exports = function (configLocation, viteProxy) {
|
||||
/* Set default index */
|
||||
if (viteProxy) {
|
||||
app.use(
|
||||
"/vite",
|
||||
"/",
|
||||
httpProxyMiddleware.createProxyMiddleware({
|
||||
target: `http://localhost:8080/`,
|
||||
ws: true,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user