Skip to content
This repository was archived by the owner on Sep 5, 2022. It is now read-only.

Commit 358169d

Browse files
committed
Update LightReflectiveMirrorTransport.cs
1 parent 23165b7 commit 358169d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

UnityProject/Assets/Mirror/Runtime/Transport/LRM/LRMTransport/LightReflectiveMirrorTransport.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ namespace LightReflectiveMirror
1212
[DefaultExecutionOrder(1001)]
1313
public partial class LightReflectiveMirrorTransport : Transport
1414
{
15-
private void OnConnectedToRelay() => _connectedToRelay = true;
1615
public bool IsAuthenticated() => _isAuthenticated;
1716
private void Awake()
1817
{
@@ -61,6 +60,12 @@ void Disconnected()
6160
serverStatus = "Disconnected from relay.";
6261
}
6362

63+
private void OnConnectedToRelay()
64+
{
65+
_connectedToRelay = true;
66+
RequestServerList();
67+
}
68+
6469
public void ConnectToRelay()
6570
{
6671
if (!useLoadBalancer)

0 commit comments

Comments
 (0)