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

bug: KeyError in callback_balance when player disconnected #112

Open
em92 opened this issue Dec 6, 2022 · 1 comment
Open

bug: KeyError in callback_balance when player disconnected #112

em92 opened this issue Dec 6, 2022 · 1 comment

Comments

@em92
Copy link
Collaborator

em92 commented Dec 6, 2022

Here is example: https://gist.github.com/lonewulfa/c20f0358670f91feacbd023d52c290c1

Player disconnected, his ratings info is wiped, then callback_balance is called attempting to access his wiped rating.

Possibly I need to add extra check if player is still playing before getting his rating info.

@em92
Copy link
Collaborator Author

em92 commented Dec 20, 2022

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

No branches or pull requests

1 participant