From 1c7a121265674b00f684866cb5dbfbe093d00e08 Mon Sep 17 00:00:00 2001 From: Tim Potze Date: Mon, 16 May 2016 21:17:09 +0200 Subject: [PATCH] Fixed auto updating not working --- src/ParkitectNexus.Data/Tasks/Prefab/CheckForUpdatesTask.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ParkitectNexus.Data/Tasks/Prefab/CheckForUpdatesTask.cs b/src/ParkitectNexus.Data/Tasks/Prefab/CheckForUpdatesTask.cs index 8a3ea1d..7d329b8 100644 --- a/src/ParkitectNexus.Data/Tasks/Prefab/CheckForUpdatesTask.cs +++ b/src/ParkitectNexus.Data/Tasks/Prefab/CheckForUpdatesTask.cs @@ -66,7 +66,7 @@ public override async Task Run(CancellationToken token) for (var index = 0; index < mods.Length; index++) { var mod = mods[index]; - if (!mod.Information.IsDevelopment || mod.Id == null) + if (mod.Information.IsDevelopment || mod.Id == null) continue; UpdateStatus($"{index + 1}/{mods.Length}: Checking mod: {mod.Name}...", (int)(index * (100.0f/mods.Length)), TaskStatus.Running);