mirror of
https://github.com/Campofinale/CampofinaleBackup.git
synced 2025-12-16 08:14:37 +00:00
fix for a log
This commit is contained in:
parent
62df1581a9
commit
4c25f00235
@ -109,11 +109,20 @@ namespace Campofinale
|
|||||||
|
|
||||||
if (clientSocket.Connected)
|
if (clientSocket.Connected)
|
||||||
{
|
{
|
||||||
Player client = new Player(clientSocket);
|
Logger.Print("Connected new client: " + clients.Count()+1);
|
||||||
clients.Add(client);
|
try
|
||||||
client.receivorThread.Start();
|
{
|
||||||
|
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