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

Fix object data initialization and event priority conflict with pawn #731

Merged
merged 2 commits into from
Oct 7, 2023

Conversation

AmyrAhmady
Copy link
Member

  1. Remove pawn comp player connect event priority
    Because now there are issues with Objects components sending
    CreateObject RPCs on connect sooner than Pawn calling RemoveBuildingForPlayer
    This way, created objects are again removed with game mechanis after
    receiving RemoveBuildingForPlayer

  2. Initialize player object data on player pool entry create

Because now there are issues with Objects components sending
CreateObject RPCs on connect sooner than Pawn calling RemoveBuildingForPlayer
This way, created objects are again removed with game mechanis after
receiving RemoveBuildingForPlayer
@AmyrAhmady
Copy link
Member Author

Fixes #726

@AmyrAhmady AmyrAhmady merged commit 7b22bb0 into master Oct 7, 2023
14 checks passed
@AmyrAhmady AmyrAhmady deleted the amir/fix-objects branch October 10, 2023 10:08
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.

4 participants