mirror of
https://github.com/ppy/osu.git
synced 2025-01-29 13:02:56 +08:00
Fix key count being incorrectly adjusted by hard/easy mods
This commit is contained in:
parent
99d5398262
commit
12ff51f686
@ -117,9 +117,20 @@ namespace osu.Game.Screens.Select.Details
|
|||||||
mod.ApplyToDifficulty(adjustedDifficulty);
|
mod.ApplyToDifficulty(adjustedDifficulty);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Account for mania differences
|
switch (Beatmap?.Ruleset?.ID ?? 0)
|
||||||
firstValue.Title = (Beatmap?.Ruleset?.ID ?? 0) == 3 ? "Key Amount" : "Circle Size";
|
{
|
||||||
firstValue.Value = (baseDifficulty?.CircleSize ?? 0, adjustedDifficulty?.CircleSize);
|
case 3:
|
||||||
|
// Account for mania differences locally for now
|
||||||
|
// Eventually this should be handled in a more modular way, allowing rulesets to return arbitrary difficulty attributes
|
||||||
|
firstValue.Title = "Key Count";
|
||||||
|
firstValue.Value = (baseDifficulty?.CircleSize ?? 0, null);
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
firstValue.Title = "Circle Size";
|
||||||
|
firstValue.Value = (baseDifficulty?.CircleSize ?? 0, adjustedDifficulty?.CircleSize);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
starDifficulty.Value = ((float)(Beatmap?.StarDifficulty ?? 0), null);
|
starDifficulty.Value = ((float)(Beatmap?.StarDifficulty ?? 0), null);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user