diff --git a/frontend/react/src/ui/panels/unitcontrolmenu.tsx b/frontend/react/src/ui/panels/unitcontrolmenu.tsx index 2594ed24..d345b6bc 100644 --- a/frontend/react/src/ui/panels/unitcontrolmenu.tsx +++ b/frontend/react/src/ui/panels/unitcontrolmenu.tsx @@ -34,6 +34,7 @@ import { } from "../components/olicons"; import { Coalition } from "../../types/types"; import { ftToM, knotsToMs, mToFt, msToKnots } from "../../other/utils"; +import { FaGasPump } from "react-icons/fa"; export function UnitControlMenu(props: { open: boolean; onClose: () => void }) { var [selectedUnits, setSelectedUnits] = useState([] as Unit[]); @@ -184,7 +185,7 @@ export function UnitControlMenu(props: { open: boolean; onClose: () => void }) { return (
); } diff --git a/frontend/server/src/demo/demo.ts b/frontend/server/src/demo/demo.ts index 8a1db149..5639f45c 100644 --- a/frontend/server/src/demo/demo.ts +++ b/frontend/server/src/demo/demo.ts @@ -66,7 +66,7 @@ module.exports = function (configLocation) { isActiveAWACS: false, onOff: true, followRoads: false, - fuel: 50, + fuel: 10, desiredSpeed: 300, desiredSpeedType: 1, desiredAltitude: 1000, @@ -87,7 +87,19 @@ module.exports = function (configLocation) { prohibitAirWpn: false, prohibitJettison: false, }, - ammo: [], + ammo: [{ + quantity: 2, + name: "A super nice missile", + guidance: 1, + category: 1, + missileCategory: 1 + }, { + quantity: 4, + name: "A less nice missile", + guidance: 1, + category: 1, + missileCategory: 1 + }], contacts: [], activePath: [{ lat: 37.1, lng: -116.1 }], isLeader: true,