osu: Some lazer-related stat reconsideration (#56)

* Split lazer property to its own toggle

* Use lazer stats from API more verbatim in pp calculation

* Update CI to use 1.83

* Set rust-toolchain
This commit is contained in:
Natsu Kagami 2024-12-21 23:05:15 +00:00 committed by GitHub
parent 0d93d55cee
commit 51fa34a7bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 344 additions and 296 deletions

View file

@ -210,7 +210,9 @@ pub mod builders {
match self.mods {
Some(mods) => r.await.map(|mut ss| {
// let mods = GameModsIntermode::from(mods.inner);
ss.retain(|s| Mods::from(s.mods.clone()).contains(&mods));
ss.retain(|s| {
Mods::from_gamemods(s.mods.clone(), s.set_on_lazer).contains(&mods)
});
ss
}),
None => r.await,