From 65a24107384df4d0f3f603959593121b2c847418 Mon Sep 17 00:00:00 2001 From: dsimmons87 Date: Thu, 23 Nov 2017 21:10:22 +0000 Subject: [PATCH] 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. --- OpenRA.Game/Map/MapPreview.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Game/Map/MapPreview.cs b/OpenRA.Game/Map/MapPreview.cs index 741dd0a25d..f82f5da49b 100644 --- a/OpenRA.Game/Map/MapPreview.cs +++ b/OpenRA.Game/Map/MapPreview.cs @@ -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;