tidy uid->map lookup in ServerBrowser implementations

This commit is contained in:
Chris Forbes
2011-09-25 15:25:39 +13:00
parent 6b602d5262
commit f9eb62beee
3 changed files with 12 additions and 11 deletions

View File

@@ -116,6 +116,10 @@ namespace OpenRA
return ret;
}
public Map FindMapByUid(string uid)
{
return AvailableMaps.ContainsKey(uid) ? AvailableMaps[uid] : null;
}
}
public interface ILoadScreen