Reverting ConnectionState.None handling to previous behaviour (for the callbacks)

This commit is contained in:
André Straubmeier 2020-08-18 14:34:37 +02:00
parent ea1408392b
commit 4a2eb22ec7
2 changed files with 2 additions and 4 deletions

View File

@ -49,8 +49,6 @@ namespace Steamworks
switch ( info.State )
{
case ConnectionState.None:
break;
case ConnectionState.Connecting:
OnConnecting( info );
break;
@ -59,6 +57,7 @@ namespace Steamworks
break;
case ConnectionState.ClosedByPeer:
case ConnectionState.ProblemDetectedLocally:
case ConnectionState.None:
OnDisconnected( info );
break;
}

View File

@ -44,8 +44,6 @@ namespace Steamworks
{
switch ( info.State )
{
case ConnectionState.None:
break;
case ConnectionState.Connecting:
OnConnecting( connection, info );
break;
@ -54,6 +52,7 @@ namespace Steamworks
break;
case ConnectionState.ClosedByPeer:
case ConnectionState.ProblemDetectedLocally:
case ConnectionState.None:
OnDisconnected( connection, info );
break;
}