diff --git a/OpenRA.Mods.Common/Widgets/Logic/Installation/DownloadPackageLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Installation/DownloadPackageLogic.cs index b57f68bc3e..7c8adf3b9d 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Installation/DownloadPackageLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Installation/DownloadPackageLogic.cs @@ -89,6 +89,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic getStatusText = () => "Downloading from {2} {0:0.00} {1} (unknown size)".F(dataReceived, dataSuffix, downloadHost ?? "unknown host"); + progressBar.Indeterminate = true; } else { @@ -100,9 +101,9 @@ namespace OpenRA.Mods.Common.Widgets.Logic getStatusText = () => "Downloading from {4} {1:0.00}/{2:0.00} {3} ({0}%)".F(i.ProgressPercentage, dataReceived, dataTotal, dataSuffix, downloadHost ?? "unknown host"); + progressBar.Indeterminate = false; } - progressBar.Indeterminate = false; progressBar.Percentage = i.ProgressPercentage; };