Fix bogus observer stats graph positioning.

This commit is contained in:
Paul Chote
2016-09-04 19:31:04 +01:00
parent 3ed241c4d4
commit 3197345fc3

View File

@@ -171,6 +171,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
(p.PlayerActor.TraitOrDefault<PlayerStatistics>() ?? new PlayerStatistics(p.PlayerActor)).EarnedSamples.Select(s => (float)s)));
playerStatsPanel.AddChild(template);
playerStatsPanel.ScrollToTop();
}
void DisplayStats(Func<Player, ScrollItemWidget> createItem)