Fix Windows byond installer version comparison

This commit is contained in:
Jordan Brown
2018-10-11 12:08:35 -04:00
parent 485a3ce47b
commit ecbdfd3a09
@@ -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)