Skip to content

Commit 991bd90

Browse files
committed
cleanup
1 parent f49977d commit 991bd90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/BossRoom/Scripts/Gameplay/ConnectionManagement/ConnectionState/ReconnectingConnectionState.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class ReconnectingConnectionState : ConnectionState
2121

2222
Coroutine m_ReconnectCoroutine;
2323
string m_LobbyCode = "";
24-
int m_NbAttempts = 0;
24+
int m_NbAttempts;
2525

2626
public ReconnectingConnectionState(ConnectionManager connectionManager, LobbyServiceFacade lobbyServiceFacade,
2727
LocalLobby localLobby, IPublisher<ReconnectMessage> reconnectMessagePublisher)
@@ -119,7 +119,7 @@ async Task JoinRelayServerAsync()
119119
var utp = (UnityTransport)m_ConnectionManager.NetworkManager.NetworkConfig.NetworkTransport;
120120
utp.SetClientRelayData(ipv4Address, port, allocationIdBytes, key, connectionData, hostConnectionData, isSecure: true);
121121
}
122-
catch (Exception e)
122+
catch (Exception)
123123
{
124124
return;//not re-throwing, but still not allowing to connect
125125
}

0 commit comments

Comments
 (0)