mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-27 07:05:50 +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 )
|
internal override void DestroyInterface( bool server )
|
||||||
|
{
|
||||||
|
if ( !server )
|
||||||
{
|
{
|
||||||
InterfaceClient = null;
|
InterfaceClient = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( server )
|
||||||
|
{
|
||||||
InterfaceServer = null;
|
InterfaceServer = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public class SteamClientClass<T> : SteamClass
|
public class SteamClientClass<T> : SteamClass
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user