Skip to content

Commit

Permalink
Add warning for invalid protocols
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArchi committed Mar 19, 2016
1 parent 3597c8f commit d0d670f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ArchiSteamFarm/GlobalConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ internal static GlobalConfig Load() {
case ProtocolType.Udp:
break;
default:
Logging.LogGenericWarning("Configured SteamProtocol is invalid: " + globalConfig.SteamProtocol + ", default TCP protocol will be used instead");
globalConfig.SteamProtocol = ProtocolType.Tcp;
break;
}
Expand Down

0 comments on commit d0d670f

Please sign in to comment.