summaryrefslogtreecommitdiff
path: root/protocols/Steam/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-12-17 13:22:49 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-12-17 13:22:49 +0300
commit4b5082aef3817173bc254755c0ec352da064a440 (patch)
treeed5231ca2282adf80fd4c7e79b87745acf562221 /protocols/Steam/src
parentf9499627d5789b5df3c4d800e5da5da1dadd8602 (diff)
fixes errors during relogin of the same account
Diffstat (limited to 'protocols/Steam/src')
-rw-r--r--protocols/Steam/src/steam_login.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Steam/src/steam_login.cpp b/protocols/Steam/src/steam_login.cpp
index 558a3eddef..e83853c7e5 100644
--- a/protocols/Steam/src/steam_login.cpp
+++ b/protocols/Steam/src/steam_login.cpp
@@ -48,7 +48,7 @@ void CSteamProto::OnGotHosts(const JSONNode &root, void*)
void CSteamProto::Login()
{
- m_iSessionId = 0;
+ m_iSteamId = m_iSessionId = 0;
CMsgClientHello hello;
hello.protocol_version = STEAM_PROTOCOL_VERSION; hello.has_protocol_version = true;