actually populate the replay browser; fix listbox ContentHeight not being reset.

This commit is contained in:
Chris Forbes
2010-11-10 10:58:08 +13:00
parent 2c13ebc6e7
commit 17e3ef131c
2 changed files with 37 additions and 0 deletions

View File

@@ -158,6 +158,7 @@ namespace OpenRA.Mods.RA.Widgets.Delegates
r.GetWidget("JOINSERVER_PROGRESS_TITLE").Visible = false;
sl.ContentHeight = 0;
int offset = ServerTemplate.Bounds.Y;
int i = 0;
foreach (var loop in games.Where(g => g.State == 1)) /* only "waiting for players" */