File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Assets/BossRoom/Scripts/Client/UI Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ void ServiceErrorHandler(UnityServiceErrorMessage error)
27
27
var errorMessage = error . Message ;
28
28
if ( error . AffectedService == UnityServiceErrorMessage . Service . Lobby )
29
29
{
30
- if ( ( error . OriginalException as LobbyServiceException ) . Reason == LobbyExceptionReason . LobbyConflict )
30
+ if ( error . OriginalException is LobbyServiceException { Reason : LobbyExceptionReason . LobbyConflict } )
31
31
{
32
32
// LobbyConflict can have multiple causes. Let's add other solutions here if there's other situations that arise for this.
33
33
errorMessage += "\n See logs for possible causes and solution." ;
@@ -44,4 +44,4 @@ void OnDestroy()
44
44
m_Subscriptions . Dispose ( ) ;
45
45
}
46
46
}
47
- }
47
+ }
You can’t perform that action at this time.
0 commit comments