From aafb413eae128780296c9eccc0e197834677756b Mon Sep 17 00:00:00 2001 From: Ryan Stecker Date: Thu, 23 Feb 2012 20:17:22 -0600 Subject: [PATCH] Oops. --- SteamKit2/SteamKit2/Steam3/CMClient.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/SteamKit2/SteamKit2/Steam3/CMClient.cs b/SteamKit2/SteamKit2/Steam3/CMClient.cs index b1c713a1..82d90dd1 100644 --- a/SteamKit2/SteamKit2/Steam3/CMClient.cs +++ b/SteamKit2/SteamKit2/Steam3/CMClient.cs @@ -158,15 +158,16 @@ namespace SteamKit2.Internal // post disconnection callback OnClientDisconnected(); + return; } if ( !bEncrypted ) { - // since there is no encryption handshake, we're 'connected' after the underlying connection is established - OnClientConnected(); - // we only connect to the public universe ConnectedUniverse = EUniverse.Public; + + // since there is no encryption handshake, we're 'connected' after the underlying connection is established + OnClientConnected(); } } ///