feat(config): add ENABLE_ALL_BEATMAP_PP

This commit is contained in:
MingxuanGame
2025-08-14 07:01:41 +00:00
parent ebbc0b8252
commit 48b075d99d
6 changed files with 21 additions and 23 deletions

View File

@@ -79,10 +79,7 @@ async def _recalculate_pp(
time -= 1
await asyncio.sleep(2)
continue
ranked = (
db_beatmap.beatmap_status.has_pp()
| settings.enable_all_beatmap_leaderboard
)
ranked = db_beatmap.beatmap_status.has_pp() | settings.enable_all_beatmap_pp
if not ranked or not mods_can_get_pp(
MODE_TO_INT[score.gamemode], score.mods
):