Skip to content

Commit 3c04d64

Browse files
Update to check force also for address
@NoelStephensUnity suggestion
1 parent 7962e0f commit 3c04d64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.unity.netcode.gameobjects/Runtime/Transports/UTP/UnityTransport.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ public void SetConnectionData(string ipv4Address, ushort port, string listenAddr
854854
port = commandLinePort;
855855
}
856856

857-
if (ParseCommandLineOptionsAddress(out var commandLineIp))
857+
if (!forceOverrideCommandLineArgs && ParseCommandLineOptionsAddress(out var commandLineIp))
858858
{
859859
ipv4Address = commandLineIp;
860860
}

0 commit comments

Comments
 (0)