1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 03:42:57 +08:00

better assertion

This commit is contained in:
Hivie 2024-03-08 16:02:17 +01:00
parent 48c8319567
commit a8792b3585

View File

@ -72,7 +72,7 @@ namespace osu.Game.Rulesets.Taiko.UI
protected virtual double ComputeTimeRange()
{
// Adjust when we're using constant algorithm to not be sluggish.
double multiplier = VisualisationMethod == ScrollVisualisationMethod.Overlapping ? 1 : 4 * Beatmap.Difficulty.SliderMultiplier;
double multiplier = VisualisationMethod == ScrollVisualisationMethod.Constant ? 4 * Beatmap.Difficulty.SliderMultiplier : 1;
return PlayfieldAdjustmentContainer.ComputeTimeRange() / multiplier;
}