diff options
Diffstat (limited to 'csgo-loader/csgo-client/Networking')
| -rw-r--r-- | csgo-loader/csgo-client/Networking/TCPClient.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/csgo-loader/csgo-client/Networking/TCPClient.cpp b/csgo-loader/csgo-client/Networking/TCPClient.cpp index c974f88..2ff5095 100644 --- a/csgo-loader/csgo-client/Networking/TCPClient.cpp +++ b/csgo-loader/csgo-client/Networking/TCPClient.cpp @@ -144,12 +144,12 @@ namespace Networking if(EncryptionKey.empty())
return false;
+ std::memcpy(m_EncryptionKey, EncryptionKey.data(), EncryptionKey.size());
+
WRAP_IF_DEBUG(
printf("[DEBUG] Server handshake successful!\n");
)
- std::memcpy(m_EncryptionKey, EncryptionKey.data(), EncryptionKey.size());
-
return true;
}
|
