diff --git a/src/Tgstation.Server.Host/Components/Byond/ByondManager.cs b/src/Tgstation.Server.Host/Components/Byond/ByondManager.cs index e8d6f714ee..49456d01ae 100644 --- a/src/Tgstation.Server.Host/Components/Byond/ByondManager.cs +++ b/src/Tgstation.Server.Host/Components/Byond/ByondManager.cs @@ -62,7 +62,7 @@ namespace Tgstation.Server.Host.Components.Byond /// /// for writing to files in the user's BYOND directory. /// - static readonly SemaphoreSlim UserFilesSemaphore; + static readonly SemaphoreSlim UserFilesSemaphore = new (1); /// /// The for the . @@ -99,14 +99,6 @@ namespace Tgstation.Server.Host.Components.Byond /// TaskCompletionSource activeVersionChanged; - /// - /// Initializes static members of the class. - /// - static ByondManager() - { - UserFilesSemaphore = new SemaphoreSlim(1); - } - /// /// Validates a given parameter. ///