Fix QueryRemoteMapDetails multi-map status updates
This commit is contained in:
@@ -205,6 +205,10 @@ namespace OpenRA
|
||||
var yaml = MiniYaml.FromString(data);
|
||||
foreach (var kv in yaml)
|
||||
maps[kv.Key].UpdateRemoteSearch(MapStatus.DownloadAvailable, kv.Value, mapDetailsReceived);
|
||||
|
||||
foreach (var map in maps)
|
||||
if (map.Value.Status != MapStatus.DownloadAvailable)
|
||||
map.Value.UpdateRemoteSearch(MapStatus.Unavailable, null);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user