Skip to content

Commit 61c74af

Browse files
committed
more debug log
1 parent d32ff9a commit 61c74af

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Assets/Scripts/ConnectionManagement/ConnectionMethod.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,11 @@ public override async Task SetupClientConnectionAsync()
171171
// See https://docs.unity.com/lobby/reconnect-to-lobby.html
172172
var lobby = await m_LobbyServiceFacade.ReconnectToLobbyAsync(m_LocalLobby.LobbyID);
173173
var success = lobby != null;
174-
if (!success)
174+
if (success)
175+
{
176+
Debug.Log("Successfully reconnected to Lobby.");
177+
}
178+
else
175179
{
176180
Debug.Log("Failed to reconnect to Lobby.");
177181
}

0 commit comments

Comments
 (0)