diff --git a/Content.Server/UtkaIntegration/TCP/UtkaTCPServer.cs b/Content.Server/UtkaIntegration/TCP/UtkaTCPServer.cs index 5426af7abf..75b512016d 100644 --- a/Content.Server/UtkaIntegration/TCP/UtkaTCPServer.cs +++ b/Content.Server/UtkaIntegration/TCP/UtkaTCPServer.cs @@ -1,4 +1,5 @@ -using System.Linq; +using System.Collections.Concurrent; +using System.Linq; using System.Net; using System.Net.Sockets; using System.Reflection; @@ -25,7 +26,7 @@ public sealed class UtkaTCPServer : TcpServer [Dependency] private readonly ITaskManager _taskManager = default!; [Dependency] private readonly ITimerManager _timerManager = default!; - public static readonly Dictionary Commands = new(); + public static readonly ConcurrentDictionary Commands = new(); private List _authenticatedSessions = new(); private string? _key;