From 8c2487452ea01916286ae44ff6640566ee259322 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Thu, 10 Feb 2022 17:01:06 -0600 Subject: [PATCH] fix unnecessary output when not able to connect to all servers --- Application/ApplicationManager.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Application/ApplicationManager.cs b/Application/ApplicationManager.cs index f3f3b2b6..d66308a7 100644 --- a/Application/ApplicationManager.cs +++ b/Application/ApplicationManager.cs @@ -236,13 +236,6 @@ namespace IW4MAdmin.Application .Select(ut => ut.Key) .ToList(); - // this is to prevent the log reader from starting before the initial - // query of players on the server - if (serverTasksToRemove.Count > 0) - { - IsInitialized = true; - } - // remove the update tasks as they have completed foreach (var serverId in serverTasksToRemove.Where(serverId => runningUpdateTasks.ContainsKey(serverId))) { @@ -530,6 +523,7 @@ namespace IW4MAdmin.Application Console.WriteLine(_translationLookup["MANAGER_COMMUNICATION_INFO"]); await InitializeServers(); + IsInitialized = true; } private async Task InitializeServers()