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

avoid frags caused by dead player aborting #410

Merged
merged 1 commit into from
Jun 17, 2024
Merged

avoid frags caused by dead player aborting #410

merged 1 commit into from
Jun 17, 2024

Conversation

tra
Copy link
Contributor

@tra tra commented Jun 17, 2024

When a player aborted a game after their last life their client would send an asynchronous message letting other players knowing they are out. But this could sometimes result in a race condition where other players wouldn't be able to handle the abort keystroke which allows it to clean up and set the isOut flag. The result of this was that the aborted player would be counted by some players and not others which messed up the fragmentation checksum.

When a player aborted a game after their last life their client would send an asynchronous message letting other players knowing they are out.  But this could sometimes result in a race condition where other players wouldn't be able to handle the abort keystroke which allows it to clean up and set the `isOut` flag.  The result of this was that the aborted player would be counted by some players and not others which messed up the fragmentation checksum.
@tra tra merged commit 7c04ae2 into main Jun 17, 2024
3 checks passed
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.

1 participant