Fixed calling StreamServer.Shutdown clearing client interfaces too

This commit is contained in:
Garry Newman 2020-02-28 14:13:47 +00:00
parent 08a4136a3e
commit 1a1809ba40

View File

@ -85,8 +85,15 @@ internal virtual void SetInterface( bool server, SteamInterface iface )
internal override void DestroyInterface( bool server )
{
InterfaceClient = null;
InterfaceServer = null;
if ( !server )
{
InterfaceClient = null;
}
if ( server )
{
InterfaceServer = null;
}
}
}