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

Multiplayer: Fix entity de-registering #765

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

Indy2222
Copy link
Collaborator

@Indy2222 Indy2222 commented Oct 11, 2023

This fixes: thread 'Compute Task Pool (4)' panicked at 'called Option::unwrap() on a None value', crates/multiplayer/src/playermsg.rs:270:78

Which was due to receiving a deregister message after the player left the game. This can happen as a race-condition just after game end or if the other player is kicked out due to network issues (but sends a message around the time of the kick).

Fixes #757.

@Indy2222 Indy2222 merged commit 72681cc into DigitalExtinction:main Oct 11, 2023
@Indy2222 Indy2222 deleted the feature/fix-deregister branch October 11, 2023 20:40
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.

Multiplayer crash after game end
1 participant