Observer: display army value in stats widget

This commit is contained in:
Clément Bœsch
2018-11-01 09:46:13 +01:00
committed by Paul Chote
parent 501c029579
commit 11b064a333
4 changed files with 46 additions and 0 deletions

View File

@@ -202,6 +202,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
template.Get<LabelWidget>("UNITS_DEAD").GetText = () => stats.UnitsDead.ToString();
template.Get<LabelWidget>("BUILDINGS_KILLED").GetText = () => stats.BuildingsKilled.ToString();
template.Get<LabelWidget>("BUILDINGS_DEAD").GetText = () => stats.BuildingsDead.ToString();
template.Get<LabelWidget>("ARMY_VALUE").GetText = () => "$" + stats.ArmyValue.ToString();
return template;
}