better assertion

This commit is contained in:
Hivie 2024-03-08 16:02:17 +01:00
parent 48c8319567
commit a8792b3585
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ protected override void Update()
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;
}