Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

Actors with orphaned ownership will properly update upon new authoritative user #743

Merged
merged 1 commit into from
Apr 8, 2021

Conversation

norybiak
Copy link
Contributor

@norybiak norybiak commented Mar 25, 2021

From my testing, _rigidBodyDefaultOwner has already changed to the new authoritative user before userLeft() is called. This means that the actors owned by the user that just left changes ownership to the new authoritative user without the actor being orphaned.

However, if an actor were orphaned, it wouldn't properly update ownership when a new authoritative user is assigned. This fix ensures that ownership is properly changed.

Related issue #742

This PR is required for PR #744

Copy link
Member

@tombuMS tombuMS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@tombuMS tombuMS merged commit 04786b3 into microsoft:red Apr 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants