I'm an idiot

This commit is contained in:
JustArchi 2017-09-26 06:31:30 +02:00
parent f36e6cace4
commit 642ca744cb

View file

@ -175,7 +175,7 @@ namespace ArchiSteamFarm {
}
if (globalConfig.SteamProtocols.HasFlag(ProtocolTypes.WebSocket) && !OS.SupportsWebSockets()) {
globalConfig.SteamProtocols &= ProtocolTypes.WebSocket;
globalConfig.SteamProtocols &= ~ProtocolTypes.WebSocket;
if (globalConfig.SteamProtocols == 0) {
globalConfig.SteamProtocols = ProtocolTypes.Tcp;
}