Skip to content

Commit 8854eb2

Browse files
authored
Update NetworkManager.cs
#225
1 parent 15d820c commit 8854eb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/Colyseus/Runtime/Example~/Scripts/NetworkManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public ColyseusClient Client
2929
get
3030
{
3131
// Initialize Colyseus client, if the client has not been initiated yet or input values from the Menu have been changed.
32-
if (_client == null || !_client.Endpoint.Uri.ToString().Contains(_menuManager.HostAddress))
32+
if (_client == null || !_client.Settings.WebRequestEndpoint.Contains(_menuManager.HostAddress))
3333
{
3434
Initialize();
3535
}

0 commit comments

Comments
 (0)