Skip to content

Commit 87eaaa2

Browse files
Hardcoding for west coast region. (#504)
1 parent 43daed6 commit 87eaaa2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Assets/BossRoom/Scripts/Shared/Net/ConnectionManagement/GameNetPortal.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,9 @@ public async void StartUnityRelayHost()
199199
try
200200
{
201201
// we now need to get the joinCode?
202-
var serverRelayUtilityTask = UnityRelayUtilities.AllocateRelayServerAndGetJoinCode(k_MaxUnityRelayConnections);
202+
var GDCRegion = "us-west2";
203+
// var GDCRegion = "us-east4";
204+
var serverRelayUtilityTask = UnityRelayUtilities.AllocateRelayServerAndGetJoinCode(k_MaxUnityRelayConnections, region: GDCRegion);
203205
await serverRelayUtilityTask;
204206
// we now have the info from the relay service
205207
var (ipv4Address, port, allocationIdBytes, connectionData, key, joinCode) = serverRelayUtilityTask.Result;

0 commit comments

Comments
 (0)