1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-17 04:32:53 +08:00

Select multiplier per mode

This commit is contained in:
sw1tchbl4d3 2022-10-12 11:22:54 +02:00
parent df0501235d
commit 2579ed46ce

View File

@ -162,7 +162,14 @@ namespace osu.Game.Rulesets.Taiko.Beatmaps
#pragma warning disable 618
if (difficultyPoint is LegacyBeatmapDecoder.LegacyDifficultyControlPoint legacyDifficultyPoint)
#pragma warning restore 618
beatLength = timingPoint.BeatLength * legacyDifficultyPoint.BpmMultiplier;
{
double bpmMultiplier;
if (beatmap.BeatmapInfo.OnlineID == 1 || beatmap.BeatmapInfo.OnlineID == 3)
bpmMultiplier = legacyDifficultyPoint.BpmMultiplierMania;
else
bpmMultiplier = legacyDifficultyPoint.BpmMultiplier;
beatLength = timingPoint.BeatLength * bpmMultiplier;
}
else
beatLength = timingPoint.BeatLength / difficultyPoint.SliderVelocity;