From 3bdba116e84ed0924beb7eb2402b0d90d34148d1 Mon Sep 17 00:00:00 2001 From: Pax1601 Date: Wed, 29 Mar 2023 08:54:03 +0200 Subject: [PATCH] Fixed --- client/src/controls/mapcontextmenu.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();