Skip to content

Commit

Permalink
chore: another whitespace fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianStoll committed Nov 21, 2024
1 parent 3ec699e commit 5c54677
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
namespace Unity.BossRoom.ConnectionManagement
{
/// <summary>
/// Connection state corresponding to when a client is attempting to connect to a server. Starts the client when
/// entering. If successful, transitions to the ClientConnected state. If not, transitions to the Offline state.
/// Connection state corresponding to when a client is attempting to connect to a server. Starts the client when
/// entering. If successful, transitions to the ClientConnected state. If not, transitions to the Offline state.
/// </summary>
class ClientConnectingState : OnlineState
{
Expand Down Expand Up @@ -51,10 +51,10 @@ void StartingClientFailed()
var connectStatus = JsonUtility.FromJson<ConnectStatus>(disconnectReason);
m_ConnectStatusPublisher.Publish(connectStatus);
}

m_ConnectionManager.ChangeState(m_ConnectionManager.m_Offline);
}


internal async Task ConnectClientAsync()
{
try
Expand All @@ -66,7 +66,7 @@ internal async Task ConnectClientAsync()
if (!m_ConnectionManager.NetworkManager.StartClient())
{
throw new Exception("NetworkManager StartClient failed");
}
}
}
}
catch (Exception e)
Expand Down

0 comments on commit 5c54677

Please sign in to comment.