diff --git a/client/src/controls/mapcontextmenu.ts b/client/src/controls/mapcontextmenu.ts index 6097fc3c..c96241b7 100644 --- a/client/src/controls/mapcontextmenu.ts +++ b/client/src/controls/mapcontextmenu.ts @@ -168,7 +168,7 @@ export class MapContextMenu extends ContextMenu { /********* Ground unit spawn menu *********/ #setGroundUnitRole(role: string) { this.#spawnOptions.role = role; - this.#resetGroundUnitRole(); + this.#resetGroundUnitType(); this.#groundUnitTypeDropdown.setOptions(groundUnitsDatabase.getByRole(role).map((blueprint) => { return blueprint.label })); this.#groundUnitTypeDropdown.selectValue(0); this.clip();