osuAkatsuki / bancho.py

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

fix: reset slot `loaded` & `skipped` attributes upon match completion, `!mp abort` and picking a new map #544

Closed Lekuruu closed 7 months ago

Lekuruu commented 8 months ago

Describe your changes

I've noticed that the loaded and skipped attributes of a slot do not get reset, after finishing a map or aborting it. This could lead to some unwanted behavior.

Related Issues / Projects

Checklist

cmyui commented 7 months ago

Made an adjustment to keep unready_players() and this separate, since they don't always overlap

cmyui commented 7 months ago

Ty for the PR! 🎉

Lekuruu commented 7 months ago

No problem!