Skip to content

Commit 33d7bfb

Browse files
committed
Merge branch 'feature/auto-reconnect' of https://github.com/Unity-Technologies/com.unity.multiplayer.samples.coop into feature/auto-reconnect
2 parents b9f32af + cc7eddc commit 33d7bfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/BossRoom/Scripts/Client/UI/ConnectionStatusMessageUIManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ void OnConnectStatus(ConnectStatus status)
4242
PopupPanel.ShowPopupPanel("Connection Failed", "The Host is full and cannot accept any additional connections.");
4343
break;
4444
case ConnectStatus.Success:
45-
m_PopupIdToClose = PopupPanel.ShowPopupPanel("Success!", "Joining Now", false);
45+
m_PopupIdToClose = PopupPanel.ShowPopupPanel("Success!", "Joining Now", isCloseableByUser: false);
4646
SceneManager.sceneLoaded += ClosePopupOnsceneLoaded;
4747
break;
4848
case ConnectStatus.LoggedInAgain:
@@ -52,7 +52,7 @@ void OnConnectStatus(ConnectStatus status)
5252
PopupPanel.ShowPopupPanel("Disconnected From Host", "The connection to the host was lost");
5353
break;
5454
case ConnectStatus.Reconnecting:
55-
m_PopupIdToClose = PopupPanel.ShowPopupPanel("Attempting reconnection", "Lost connection to the Host, attempting to reconnect...", false);
55+
m_PopupIdToClose = PopupPanel.ShowPopupPanel("Attempting reconnection", "Lost connection to the Host, attempting to reconnect...", isCloseableByUser: false);
5656
break;
5757
default:
5858
Debug.LogWarning($"New ConnectStatus {status} has been added, but no connect message defined for it.");

0 commit comments

Comments
 (0)