mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-02-03 17:20:45 +03:00
Reverting ConnectionState.None handling to previous behaviour (for the callbacks)
This commit is contained in:
parent
ea1408392b
commit
4a2eb22ec7
@ -49,8 +49,6 @@ namespace Steamworks
|
|||||||
|
|
||||||
switch ( info.State )
|
switch ( info.State )
|
||||||
{
|
{
|
||||||
case ConnectionState.None:
|
|
||||||
break;
|
|
||||||
case ConnectionState.Connecting:
|
case ConnectionState.Connecting:
|
||||||
OnConnecting( info );
|
OnConnecting( info );
|
||||||
break;
|
break;
|
||||||
@ -59,6 +57,7 @@ namespace Steamworks
|
|||||||
break;
|
break;
|
||||||
case ConnectionState.ClosedByPeer:
|
case ConnectionState.ClosedByPeer:
|
||||||
case ConnectionState.ProblemDetectedLocally:
|
case ConnectionState.ProblemDetectedLocally:
|
||||||
|
case ConnectionState.None:
|
||||||
OnDisconnected( info );
|
OnDisconnected( info );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -44,8 +44,6 @@ namespace Steamworks
|
|||||||
{
|
{
|
||||||
switch ( info.State )
|
switch ( info.State )
|
||||||
{
|
{
|
||||||
case ConnectionState.None:
|
|
||||||
break;
|
|
||||||
case ConnectionState.Connecting:
|
case ConnectionState.Connecting:
|
||||||
OnConnecting( connection, info );
|
OnConnecting( connection, info );
|
||||||
break;
|
break;
|
||||||
@ -54,6 +52,7 @@ namespace Steamworks
|
|||||||
break;
|
break;
|
||||||
case ConnectionState.ClosedByPeer:
|
case ConnectionState.ClosedByPeer:
|
||||||
case ConnectionState.ProblemDetectedLocally:
|
case ConnectionState.ProblemDetectedLocally:
|
||||||
|
case ConnectionState.None:
|
||||||
OnDisconnected( connection, info );
|
OnDisconnected( connection, info );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user