Skip to content

Commit be451a0

Browse files
Merge branch 'HTK-SharingIpConfigUx' into HTK-WorldAnchorManagerUpdate
2 parents 67d3d98 + fe4a114 commit be451a0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Assets/HoloToolkit/Sharing/Scripts/Utilities/ManualIpConfiguration.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,15 @@ private void Start()
7272

7373
private void OnEnable()
7474
{
75-
if (!firstRun)
75+
if (firstRun)
7676
{
77+
firstRun = false;
7778
isTryingToConnect = true;
7879
ConnectToSharingService();
7980
}
8081
else
8182
{
82-
firstRun = false;
83+
isTryingToConnect = false;
8384
}
8485
}
8586

0 commit comments

Comments
 (0)