mirror of
https://github.com/Sanae6/SmoOnlineServer.git
synced 2024-11-24 20:25:18 +00:00
Rejoyne
This commit is contained in:
parent
2a8e1696ab
commit
a288e5b7a8
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ public class Server {
|
|||
case ConnectPacket.ConnectionTypes.Reconnecting: {
|
||||
client.Id = header.Id;
|
||||
if (FindExistingClient(header.Id) is { } newClient) {
|
||||
// if (newClient.Connected) throw new Exception($"Tried to join as already connected user {header.Id}");
|
||||
if (newClient.Connected) throw new Exception($"Tried to join as already connected user {header.Id}");
|
||||
newClient.Socket = client.Socket;
|
||||
client = newClient;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue