Skip to content

Fix always starting as client by setting host before StartSharedSpace#6

Open
puddleglum56 wants to merge 2 commits intoniantic-lightship:mainfrom
puddleglum56:patch-1
Open

Fix always starting as client by setting host before StartSharedSpace#6
puddleglum56 wants to merge 2 commits intoniantic-lightship:mainfrom
puddleglum56:patch-1

Conversation

@puddleglum56
Copy link
Copy Markdown

@puddleglum56 puddleglum56 commented Nov 17, 2024

Fixing a small bug that was preventing the server from starting. _startAsHost needs to be set before StartSharedSpace because OnColocalizationTrackingStateChanged uses it to decide whether to start the server as a host or connect as a client. Without this, the server is never started because the network is always initialized as a client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants