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

Make changes to AuthorityPeer impact authority directly? #620

Open
cBournhonesque opened this issue Sep 1, 2024 · 0 comments
Open

Make changes to AuthorityPeer impact authority directly? #620

cBournhonesque opened this issue Sep 1, 2024 · 0 comments

Comments

@cBournhonesque
Copy link
Owner

The server's AuthorityPeer only gets updated correctly if the user calls transfer_authority.
If they directly spawn an entity with AuthorityPeer = Client1 I don't think things would work correctly.

Maybe instead of Commands::transfer_authority, we should have an observer that monitors changes to the AuthorityPeer component and does the authority transfer accordingly?

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

No branches or pull requests

1 participant