osuAkatsuki / bancho.py

An osu! server for the generic public, optimized for maintainability in modern python
https://akatsuki.gg
MIT License
213 stars 128 forks source link

fix: add rounding to score on getscores #607

Closed minisbett closed 7 months ago

minisbett commented 7 months ago

Describe your changes

Usually PP is always rounded, but on the /web/osu-osz2-getscores.php endpoint it's always just casted to an int, resulting in a different PP value than what's displayed elsewhere.

Checklist