Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Commit b0a1d8e

Browse files
authored
Fixed bug where worker type was read from command line (#684)
* fixing bug where it would read the worker type from the command line * removing RuntimeConfigNames.WorkerType
1 parent 183975d commit b0a1d8e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

workers/unity/Packages/com.improbable.gdk.core/Config/RuntimeConfig.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ public static class RuntimeConfigNames
3030
public const string SteamDeploymentTag = "steamDeploymentTag";
3131
public const string SteamTicket = "steamTicket";
3232
public const string WorkerId = "workerId";
33-
public const string WorkerType = "workerType";
3433
}
3534

3635
/// <summary>

workers/unity/Packages/com.improbable.gdk.core/Worker/DefaultWorkerConnector.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ protected override ConnectionParameters GetConnectionParameters(string workerTyp
6262

6363
return new ConnectionParameters
6464
{
65-
WorkerType = CommandLineUtility.GetCommandLineValue(
66-
commandLineArgs, RuntimeConfigNames.WorkerType, workerType),
65+
WorkerType = workerType,
6766
Network =
6867
{
6968
ConnectionType = linkProtocol,

0 commit comments

Comments
 (0)