Proper disconnect if room not found.

This commit is contained in:
Derek S 2021-04-06 22:13:36 -05:00
parent 1dc289fa12
commit 91aaa6ae2f

View file

@ -340,6 +340,7 @@ namespace LightReflectiveMirror
return relayServerList[i]; return relayServerList[i];
} }
OnClientDisconnected?.Invoke();
throw new Exception("LRM | An attempt was made to connect to a server which does not exist!"); throw new Exception("LRM | An attempt was made to connect to a server which does not exist!");
} }