diff --git a/DependentExtensions/Lobby2/Steam/Lobby2Client_Steam_Impl.cpp b/DependentExtensions/Lobby2/Steam/Lobby2Client_Steam_Impl.cpp index fae0f7509..74fcc0997 100644 --- a/DependentExtensions/Lobby2/Steam/Lobby2Client_Steam_Impl.cpp +++ b/DependentExtensions/Lobby2/Steam/Lobby2Client_Steam_Impl.cpp @@ -603,5 +603,5 @@ void Lobby2Client_Steam_Impl::OnDetach(void) { DataStructures::List sockets; rakPeerInterface->GetSockets(sockets); - ((RNS2_Windows*)sockets[0])->SetSocketLayerOverride(this); + ((RNS2_Windows*)sockets[0])->SetSocketLayerOverride(NULL); }