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

Refactor UpgradeEntityRequests and DestructEntityRequests #379

Conversation

PhantomGamers
Copy link
Collaborator

PlayerAction_Build.Do(Destruct/Upgrade)Object() was being run multiple times resulting in players receiving multiple of the same item so we should ensure this only runs once

This may bring back #378, needs further testing, but fixes the other problem mentioned on that issue.

PlayerAction_Build.Do(Destruct/Upgrade)Object() was being run multiple times resulting in players receiving multiple of the same item so we should ensure this only runs once
@PhantomGamers
Copy link
Collaborator Author

Also just to add, I wasn't able to reproduce #378 locally with this PR, but it's been notoriously hard to reproduce alone while trying to control 2 clients so it could still be an issue

@PhantomGamers
Copy link
Collaborator Author

PhantomGamers commented Jul 23, 2021

I'm gonna merge this because no one has reported any errors so far and if anything this definitely fixes an item dupe bug which should be included in the next release

EDIT: I think someone other than me has to review it before it can be merged, which makes sense 😅

@hubastard hubastard merged commit d2ec736 into NebulaModTeam:master Jul 23, 2021
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.

2 participants