diff --git a/Content.Server/UtkaIntegration/TCP/UtkaTCPWrapper.cs b/Content.Server/UtkaIntegration/TCP/UtkaTCPWrapper.cs index 56e3ec8f59..f41e2f5499 100644 --- a/Content.Server/UtkaIntegration/TCP/UtkaTCPWrapper.cs +++ b/Content.Server/UtkaIntegration/TCP/UtkaTCPWrapper.cs @@ -32,16 +32,16 @@ public sealed class UtkaTCPWrapper try { _server = new UtkaTCPServer(IPAddress.Any, port); + _server.Start(); + _initialized = true; } catch (Exception e) { + _initialized = false; return; } - _server.Start(); - - _initialized = true; } public void SendMessageToAll(UtkaBaseMessage message)