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

@ -84,11 +84,18 @@ internal virtual void SetInterface( bool server, SteamInterface iface )
}
internal override void DestroyInterface( bool server )
{
if ( !server )
{
InterfaceClient = null;
}
if ( server )
{
InterfaceServer = null;
}
}
}
public class SteamClientClass<T> : SteamClass
{