add try catch

This commit is contained in:
Sem van der Hoeven
2020-10-21 22:41:39 +02:00
parent 754c1c5db9
commit e8a72e164f
2 changed files with 51 additions and 36 deletions

View File

@@ -97,6 +97,12 @@ namespace Server.Models
}
}
public void ServerClientDisconnect(ServerClient serverClient)
{
// remove from serverclientsinlobbies
// send leave message
}
public void SendToAllExcept(string username, byte[] message)
{
foreach (ServerClient sc in serverClients)