diff --git a/OpenRa.Game/Traits/Building.cs b/OpenRa.Game/Traits/Building.cs index b351c14202..82a990aea9 100644 --- a/OpenRa.Game/Traits/Building.cs +++ b/OpenRa.Game/Traits/Building.cs @@ -65,7 +65,7 @@ namespace OpenRa.Game.Traits var maxHP = self.Info.Traits.Get().HP; - if (Info.Power > 0) /* todo: is this how real-ra scales it? */ + if (Info.Power > 0) return (self.Health * Info.Power) / maxHP; else return Info.Power;