Minor fixes

This commit is contained in:
Pax1601
2023-05-24 15:15:44 +02:00
parent 5f2f2a83dd
commit ec872e181d
7 changed files with 70 additions and 72 deletions

View File

@@ -188,8 +188,6 @@ export class MapContextMenu extends ContextMenu {
this.#resetGroundUnitType();
const types = groundUnitsDatabase.getByRole(role).map((blueprint) => { return blueprint.label });
types.sort();
this.#groundUnitTypeDropdown.setOptions(types);
this.#groundUnitTypeDropdown.selectValue(0);
this.clip();
@@ -202,8 +200,6 @@ export class MapContextMenu extends ContextMenu {
this.#groundUnitTypeDropdown.reset();
const roles = groundUnitsDatabase.getRoles();
roles.sort();
this.#groundUnitRoleDropdown.setOptions(roles);
this.clip();
}