diff --git a/src/Tgstation.Server.Host/Components/Engine/ByondInstallerBase.cs b/src/Tgstation.Server.Host/Components/Engine/ByondInstallerBase.cs index 4f931fca11..668a487692 100644 --- a/src/Tgstation.Server.Host/Components/Engine/ByondInstallerBase.cs +++ b/src/Tgstation.Server.Host/Components/Engine/ByondInstallerBase.cs @@ -148,21 +148,25 @@ namespace Tgstation.Server.Host.Components.Engine var installationIOManager = IOManager.CreateResolverForSubdirectory(path); var supportsMapThreads = version.Version >= MapThreadsVersion; + var dreamDaemonName = GetDreamDaemonName( + version.Version!, + out var supportsCli); + var dreamDaemonPath = installationIOManager.ResolvePath( + installationIOManager.ConcatPath( + ByondBinPath, + dreamDaemonName)); + var dreamMakerPath = installationIOManager.ResolvePath( + installationIOManager.ConcatPath( + ByondBinPath, + DreamMakerName)); + return ValueTask.FromResult( new ByondInstallation( installationIOManager, installationTask, version, - installationIOManager.ResolvePath( - installationIOManager.ConcatPath( - ByondBinPath, - GetDreamDaemonName( - version.Version!, - out var supportsCli))), - installationIOManager.ResolvePath( - installationIOManager.ConcatPath( - ByondBinPath, - DreamMakerName)), + dreamDaemonPath, + dreamMakerPath, supportsCli, supportsMapThreads)); }