Fixed initial connection userdata loading

This commit is contained in:
Maxim Bagryantsev
2021-11-16 15:45:00 -08:00
committed by Fletcher Dunn
parent 293bda2899
commit 657fb7a7fe
@@ -2096,7 +2096,7 @@ bool CSteamNetworkingUtils::SetConfigValue( ESteamNetworkingConfigValue eValue,
return false;
// Set the data, possibly fixing up existing queued messages, etc
pConn->SetUserData( pConn->m_connectionConfig.m_ConnectionUserData.m_data );
pConn->SetUserData( newData );
return true;
}