fix nuke bug, make spawn phase longer, show trade ships in overview

This commit is contained in:
Evan
2024-12-22 20:27:49 -08:00
parent 240036a07c
commit 10d70d3327
5 changed files with 12 additions and 3 deletions
@@ -55,7 +55,7 @@ export class PlayerInfoOverlay extends LitElement implements Layer {
this.player = owner;
this.setVisible(true);
} else if (!tile.isLand()) {
const units = this.game.units(UnitType.Destroyer, UnitType.Battleship)
const units = this.game.units(UnitType.Destroyer, UnitType.Battleship, UnitType.TradeShip)
.filter(u => euclideanDist(worldCoord, u.tile().cell()) < 50)
.sort(distSortUnit(tile));