This commit is contained in:
1brucben
2025-04-23 04:55:51 +02:00
4 changed files with 9 additions and 4 deletions
+2 -1
View File
@@ -380,7 +380,8 @@ export class RadialMenu implements Layer {
});
}
if (
actions.buildableUnits.some((bu) => bu.type == UnitType.TransportShip)
actions.buildableUnits.find((bu) => bu.type == UnitType.TransportShip)
?.canBuild
) {
this.activateMenuElement(Slot.Boat, "#3f6ab1", boatIcon, () => {
// BestTransportShipSpawn is an expensive operation, so