mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-28 15:34:20 +00:00
fix build menu not showing correct # units
This commit is contained in:
@@ -384,7 +384,7 @@ export class BuildMenu extends LitElement implements Layer {
|
||||
return "?";
|
||||
}
|
||||
|
||||
return player.units(item.unitType).length.toString();
|
||||
return player.totalUnitLevels(item.unitType).toString();
|
||||
}
|
||||
|
||||
public sendBuildOrUpgrade(buildableUnit: BuildableUnit, tile: TileRef): void {
|
||||
|
||||
Reference in New Issue
Block a user