Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy network authority when instancing placeholders #82846

Conversation

SaracenOne
Copy link
Member

This changes the behaviour of the InstancePlaceholder so that the instanced node retains the same network authority ID as the placeholder node. This is important for some workflows which use placeholders to efficently dummy out unnessecary composition of player scenes when they are instanced for other players who they client does not have authority for if branches are contained in the nodes' _ready method.

Copy link
Collaborator

@Faless Faless left a comment

Choose a reason for hiding this comment

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

LGTM, but I have honestly never used InstancePlaceholders so TIWAGOS

@akien-mga akien-mga merged commit 7c088f2 into godotengine:master Oct 16, 2023
15 checks passed
@akien-mga
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

3 participants