mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-26 06:27:19 +01:00
Break up this call to better isolate where the NullReferenceException is happening
This commit is contained in:
@@ -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<IEngineInstallation>(
|
||||
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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user