mirror of
https://git.muiegratis.online/suikoakari/Campofinale
synced 2025-12-12 09:34:34 +01:00
fix for a log
This commit is contained in:
@@ -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());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user