Update ServerManager.cs

This commit is contained in:
Dawid Bepierszcz 2026-01-27 09:51:12 +01:00 • committed by GitHub
parent fe73fa9917
commit 193685826c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -103,12 +103,12 @@ public class ServerManager
CS2_SimpleAdmin.ServerId = serverId;
CS2_SimpleAdmin._logger?.LogInformation("Loaded server with ip {ip}", ipAddress);
CS2_SimpleAdmin.ServerLoaded = true;
if (CS2_SimpleAdmin.Instance.CacheManager != null)
{
await CS2_SimpleAdmin.Instance.CacheManager.InitializeCacheAsync();
}
CS2_SimpleAdmin.ServerLoaded = true;
}
catch (Exception ex)
{