mirror of
https://github.com/Campofinale/CampofinaleBackup.git
synced 2025-12-15 22:54:36 +00:00
fix for a log
This commit is contained in:
parent
62df1581a9
commit
4c25f00235
@ -109,11 +109,20 @@ namespace Campofinale
|
||||
|
||||
if (clientSocket.Connected)
|
||||
{
|
||||
Player client = new Player(clientSocket);
|
||||
clients.Add(client);
|
||||
client.receivorThread.Start();
|
||||
Logger.Print("Connected new client: " + clients.Count()+1);
|
||||
try
|
||||
{
|
||||
Player client = new Player(clientSocket);
|
||||
clients.Add(client);
|
||||
client.receivorThread.Start();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Logger.PrintError($" {e.Message}");
|
||||
}
|
||||
|
||||
|
||||
Logger.Print("Connected new client: " + clients.Count());
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user