From 358169d8b63a2270c9a8ed2965b659db513126e9 Mon Sep 17 00:00:00 2001 From: cxxpxr <60411087+cxxpxr@users.noreply.github.com> Date: Thu, 8 Apr 2021 20:46:24 -0400 Subject: [PATCH] Update LightReflectiveMirrorTransport.cs --- .../LRM/LRMTransport/LightReflectiveMirrorTransport.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/UnityProject/Assets/Mirror/Runtime/Transport/LRM/LRMTransport/LightReflectiveMirrorTransport.cs b/UnityProject/Assets/Mirror/Runtime/Transport/LRM/LRMTransport/LightReflectiveMirrorTransport.cs index a1f19ad..3b1c5aa 100644 --- a/UnityProject/Assets/Mirror/Runtime/Transport/LRM/LRMTransport/LightReflectiveMirrorTransport.cs +++ b/UnityProject/Assets/Mirror/Runtime/Transport/LRM/LRMTransport/LightReflectiveMirrorTransport.cs @@ -12,7 +12,6 @@ namespace LightReflectiveMirror [DefaultExecutionOrder(1001)] public partial class LightReflectiveMirrorTransport : Transport { - private void OnConnectedToRelay() => _connectedToRelay = true; public bool IsAuthenticated() => _isAuthenticated; private void Awake() { @@ -61,6 +60,12 @@ namespace LightReflectiveMirror serverStatus = "Disconnected from relay."; } + private void OnConnectedToRelay() + { + _connectedToRelay = true; + RequestServerList(); + } + public void ConnectToRelay() { if (!useLoadBalancer)