fix unnecessary output when not able to connect to all servers
This commit is contained in:
parent
c9cf7be341
commit
4dec284b31
@ -236,13 +236,6 @@ namespace IW4MAdmin.Application
|
|||||||
.Select(ut => ut.Key)
|
.Select(ut => ut.Key)
|
||||||
.ToList();
|
.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
|
// remove the update tasks as they have completed
|
||||||
foreach (var serverId in serverTasksToRemove.Where(serverId => runningUpdateTasks.ContainsKey(serverId)))
|
foreach (var serverId in serverTasksToRemove.Where(serverId => runningUpdateTasks.ContainsKey(serverId)))
|
||||||
{
|
{
|
||||||
@ -530,6 +523,7 @@ namespace IW4MAdmin.Application
|
|||||||
|
|
||||||
Console.WriteLine(_translationLookup["MANAGER_COMMUNICATION_INFO"]);
|
Console.WriteLine(_translationLookup["MANAGER_COMMUNICATION_INFO"]);
|
||||||
await InitializeServers();
|
await InitializeServers();
|
||||||
|
IsInitialized = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
private async Task InitializeServers()
|
private async Task InitializeServers()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user