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

Commit 91aaa6a

Browse files
committed
Proper disconnect if room not found.
1 parent 1dc289f commit 91aaa6a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ Room GetServerForID(string serverID)
340340
return relayServerList[i];
341341
}
342342

343+
OnClientDisconnected?.Invoke();
343344
throw new Exception("LRM | An attempt was made to connect to a server which does not exist!");
344345
}
345346

0 commit comments

Comments
 (0)