Proper disconnect if room not found.
This commit is contained in:
parent
1dc289fa12
commit
91aaa6ae2f
1 changed files with 1 additions and 0 deletions
|
|
@ -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!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue