mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-04-19 08:48:54 +00:00
Add DT flag on NC and SD flag on PF
This commit is contained in:
parent
0f1b054402
commit
9d61868771
2 changed files with 3 additions and 3 deletions
|
@ -123,7 +123,7 @@ impl std::str::FromStr for Mods {
|
|||
"AT" => res |= Mods::AT,
|
||||
"SO" => res |= Mods::SO,
|
||||
"AP" => res |= Mods::AP,
|
||||
"PF" => res |= Mods::PF,
|
||||
"PF" => res |= Mods::PF | Mods::SD,
|
||||
"1K" => res |= Mods::KEY1,
|
||||
"2K" => res |= Mods::KEY2,
|
||||
"3K" => res |= Mods::KEY3,
|
||||
|
|
|
@ -309,12 +309,12 @@ impl From<rosu::mods::GameModsIntermode> for Mods {
|
|||
GameModIntermode::DoubleTime => Mods::DT,
|
||||
GameModIntermode::Relax => Mods::RX,
|
||||
GameModIntermode::HalfTime => Mods::HT,
|
||||
GameModIntermode::Nightcore => Mods::NC,
|
||||
GameModIntermode::Nightcore => Mods::DT | Mods::NC,
|
||||
GameModIntermode::Flashlight => Mods::FL,
|
||||
GameModIntermode::Autoplay => Mods::AT,
|
||||
GameModIntermode::SpunOut => Mods::SO,
|
||||
GameModIntermode::Autopilot => Mods::AP,
|
||||
GameModIntermode::Perfect => Mods::PF,
|
||||
GameModIntermode::Perfect => Mods::SD | Mods::PF,
|
||||
GameModIntermode::OneKey => Mods::KEY1,
|
||||
GameModIntermode::TwoKeys => Mods::KEY2,
|
||||
GameModIntermode::ThreeKeys => Mods::KEY3,
|
||||
|
|
Loading…
Add table
Reference in a new issue