Skip to content

Commit 1936858

Browse files
authored
Update ServerManager.cs
1 parent fe73fa9 commit 1936858

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CS2-SimpleAdmin/Managers/ServerManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ await connection.ExecuteAsync(
103103
CS2_SimpleAdmin.ServerId = serverId;
104104
CS2_SimpleAdmin._logger?.LogInformation("Loaded server with ip {ip}", ipAddress);
105105

106+
CS2_SimpleAdmin.ServerLoaded = true;
107+
106108
if (CS2_SimpleAdmin.Instance.CacheManager != null)
107109
{
108110
await CS2_SimpleAdmin.Instance.CacheManager.InitializeCacheAsync();
109111
}
110-
111-
CS2_SimpleAdmin.ServerLoaded = true;
112112
}
113113
catch (Exception ex)
114114
{

0 commit comments

Comments
 (0)