mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-20 17:50:24 +00:00
fix nuke bug, make spawn phase longer, show trade ships in overview
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user