mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 07:04:27 +00:00
Fix build
This commit is contained in:
parent
3b64b4b900
commit
af39c55e61
1 changed files with 3 additions and 4 deletions
|
@ -55,7 +55,8 @@ namespace ArchiSteamFarm {
|
|||
|
||||
private static readonly SemaphoreSlim GiftsSemaphore = new SemaphoreSlim(1, 1);
|
||||
private static readonly SemaphoreSlim LoginSemaphore = new SemaphoreSlim(1, 1);
|
||||
private static readonly SteamConfiguration SteamConfiguration = new SteamConfiguration();
|
||||
|
||||
private static SteamConfiguration SteamConfiguration;
|
||||
|
||||
internal readonly ArchiLogger ArchiLogger;
|
||||
internal readonly ArchiWebHandler ArchiWebHandler;
|
||||
|
@ -539,9 +540,7 @@ namespace ArchiSteamFarm {
|
|||
return;
|
||||
}
|
||||
|
||||
SteamConfiguration.ProtocolTypes = protocolTypes;
|
||||
SteamConfiguration.CellID = cellID;
|
||||
SteamConfiguration.ServerListProvider = serverListProvider;
|
||||
SteamConfiguration = SteamConfiguration.Create(builder => builder.WithProtocolTypes(protocolTypes).WithCellID(cellID).WithServerListProvider(serverListProvider));
|
||||
|
||||
// Ensure that we ask for a list of servers if we don't have any saved servers available
|
||||
IEnumerable<ServerRecord> servers = await SteamConfiguration.ServerListProvider.FetchServerListAsync().ConfigureAwait(false);
|
||||
|
|
Loading…
Reference in a new issue