From ecbdfd3a09f8ccc11e41f92ab819c0f2def113b1 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Thu, 11 Oct 2018 12:08:35 -0400 Subject: [PATCH] Fix Windows byond installer version comparison --- .../Components/Byond/WindowsByondInstaller.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tgstation.Server.Host/Components/Byond/WindowsByondInstaller.cs b/src/Tgstation.Server.Host/Components/Byond/WindowsByondInstaller.cs index 8687d24615..c3f051fa60 100644 --- a/src/Tgstation.Server.Host/Components/Byond/WindowsByondInstaller.cs +++ b/src/Tgstation.Server.Host/Components/Byond/WindowsByondInstaller.cs @@ -124,7 +124,7 @@ namespace Tgstation.Server.Host.Components.Byond //after this version lummox made DD depend of directx lol //but then he became amazing and not only fixed it but also gave us 30s compiles \[T]/ - if (version.Major == 512 && version.Minor >= 1427 && version.Major < 1452 && !installedDirectX) + if (version.Major == 512 && version.Minor >= 1427 && version.Minor < 1452 && !installedDirectX) using (await SemaphoreSlimContext.Lock(semaphore, cancellationToken).ConfigureAwait(false)) //check again because race conditions if (!installedDirectX)