mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-26 22:55:55 +03:00
Fixed calling StreamServer.Shutdown clearing client interfaces too
This commit is contained in:
parent
08a4136a3e
commit
1a1809ba40
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user