osu: Implement map length on server ranks

This commit is contained in:
Natsu Kagami 2024-03-06 00:01:38 +01:00
parent a50f44ad90
commit 11f32ccf04
Signed by: nki
GPG key ID: 55A032EB38B49ADB
12 changed files with 229 additions and 71 deletions

View file

@ -326,6 +326,7 @@ async fn add_user(
failures: 0,
last_update: chrono::Utc::now(),
pp: [None, None, None, None],
std_weighted_map_length: None,
};
data.get::<OsuSavedUsers>().unwrap().new_user(u).await?;
Ok(())