Skip to content

Disconnect realms when leave page.#33

Open
ctrlaltdavid wants to merge 6 commits intomasterfrom
ctrlaltdavid/disconnect-realms
Open

Disconnect realms when leave page.#33
ctrlaltdavid wants to merge 6 commits intomasterfrom
ctrlaltdavid/disconnect-realms

Conversation

@ctrlaltdavid
Copy link
Contributor

Network realms are now disconnected from when the scene unloads. The commented-out code in TitleScreen.jsx lines 876 - 878 should be able to be enabled so that network realms are automatically connected when the title scene loads, and the 'm' key code removed and the commented-out code in TitleScreen.jsx lines 876 - 878 enabled.

As part of this, associated changes have been made:

  • Work-around added that enables hot reload on Windows when using Windows-hosted files.
  • Destroy TitleScreenRenderer upon window unload. (This disconnects network realms.)
  • Make multiplayer-do realms calcs ignore avatar elevation. (Fixes the TypeError: Cannot read properties of null (reading 'dataClient') error when press 'm' key in first title scene. Multiplayer additions and fixes. webaverse/multiplayer-do#9 )

@vercel
Copy link

vercel bot commented Feb 7, 2023

@ctrlaltdavid is attempting to deploy a commit to the WEBA Team on Vercel.

To accomplish this, @ctrlaltdavid needs to request access to the Team.

Afterwards, an owner of the Team is required to accept their membership request.

If you're already a member of the respective Vercel Team, make sure that your Personal Vercel Account is connected to your GitHub account.

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.

1 participant