diff --git a/src/core/game/GameView.ts b/src/core/game/GameView.ts index de35fa4c8..d1d2fb83e 100644 --- a/src/core/game/GameView.ts +++ b/src/core/game/GameView.ts @@ -382,6 +382,7 @@ export class PlayerView { totalUnitLevels(type: UnitType): number { return this.units(type) + .filter((unit) => !unit.isUnderConstruction()) .map((unit) => unit.level()) .reduce((a, b) => a + b, 0); }