diff --git a/OpenRA.Mods.Common/Widgets/Logic/Installation/DownloadPackageLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Installation/DownloadPackageLogic.cs index 4ec8588251..dce2131134 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Installation/DownloadPackageLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Installation/DownloadPackageLogic.cs @@ -142,7 +142,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic foreach (var kv in download.Extract) { var entry = z.GetEntry(kv.Value); - if (!entry.IsFile) + if (entry == null || !entry.IsFile) continue; onExtractProgress("Extracting " + entry.Name);