Seperated power into 'power provided' and 'power consumed'

This commit is contained in:
Matthew Bowra-Dean
2009-11-10 19:01:40 +13:00
parent a60be98721
commit abac3bd59d
3 changed files with 18 additions and 4 deletions

View File

@@ -107,7 +107,7 @@ namespace OpenRa.Game.Graphics
Game.OreTime * 1000,
Game.LocalPlayer.Cash,
PerfHistory.items[ "nodes_expanded" ].LastValue,
Game.LocalPlayer.Power
Game.LocalPlayer.GetTotalPower()
), new int2(5, 5), Color.White);
PerfHistory.Render(renderer, lineRenderer);