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 in Gametypes.py not counting wins #24

Open
b1tmask opened this issue Oct 2, 2024 · 0 comments
Open

Bug in Gametypes.py not counting wins #24

b1tmask opened this issue Oct 2, 2024 · 0 comments

Comments

@b1tmask
Copy link

b1tmask commented Oct 2, 2024

Line 58 of gametypes.py file should be: win = 1 if "wins" in player_data else 0

https://github.com/em92/quakelive-local-ratings/blob/master/qllr/gametypes.py#L58

The match sample files show the key name is "wins" not "win".

https://github.com/em92/quakelive-local-ratings/blob/master/tests/match_samples/sample01#L1168

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