mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 03:42:57 +08:00
better assertion
This commit is contained in:
parent
48c8319567
commit
a8792b3585
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user