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

Only set party when vanishing on a team #962

Merged
merged 1 commit into from
Feb 3, 2022
Merged

Conversation

Pugzy
Copy link
Contributor

@Pugzy Pugzy commented Feb 3, 2022

When un-vanishing a player doesn't need to have their team changed.
When vanishing a player they only need to be switched if they're a competitor.

The unnecessary call to match.setParty is causing a chain of events to trigger related to participation and parties.

Signed-off-by: Pugzy pugzy@mail.com

Signed-off-by: Pugzy <pugzy@mail.com>
@Pugzy Pugzy requested a review from Electroid as a code owner February 3, 2022 18:17
@Electroid Electroid merged commit c459db7 into PGMDev:dev Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants