Fixed bug in map Retry Install
If the download failed, the map status would be MapStatus.DownloadError, which would cause the Install method to return immediately. I've updated the Install method now to account for MapStatus.DownloadError.
This commit is contained in:
@@ -427,7 +427,7 @@ namespace OpenRA
|
||||
|
||||
public void Install(string mapRepositoryUrl, Action onSuccess)
|
||||
{
|
||||
if (Status != MapStatus.DownloadAvailable || !Game.Settings.Game.AllowDownloading)
|
||||
if ((Status != MapStatus.DownloadError && Status != MapStatus.DownloadAvailable) || !Game.Settings.Game.AllowDownloading)
|
||||
return;
|
||||
|
||||
innerData.Status = MapStatus.Downloading;
|
||||
|
||||
Reference in New Issue
Block a user