File tree Expand file tree Collapse file tree 1 file changed +2
-17
lines changed
Assets/Scripts/UnityServices/Lobbies Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -264,23 +264,8 @@ void OnKickedFromLobby()
264
264
265
265
void OnLobbyEventConnectionStateChanged ( LobbyEventConnectionState lobbyEventConnectionState )
266
266
{
267
- switch ( lobbyEventConnectionState )
268
- {
269
- case LobbyEventConnectionState . Unknown :
270
- break ;
271
- case LobbyEventConnectionState . Unsubscribed :
272
- break ;
273
- case LobbyEventConnectionState . Subscribing :
274
- break ;
275
- case LobbyEventConnectionState . Subscribed :
276
- break ;
277
- case LobbyEventConnectionState . Unsynced :
278
- break ;
279
- case LobbyEventConnectionState . Error :
280
- break ;
281
- default :
282
- throw new ArgumentOutOfRangeException ( nameof ( lobbyEventConnectionState ) , lobbyEventConnectionState , null ) ;
283
- }
267
+
268
+ Debug . Log ( $ "LobbyEventConnectionState changed to { lobbyEventConnectionState } ") ;
284
269
}
285
270
286
271
async void SubscribeToJoinedLobby ( )
You can’t perform that action at this time.
0 commit comments