Remove unlimited timing points in difficulty calculation

This commit is contained in:
smoogipoo 2020-03-11 18:17:32 +09:00
parent 42bc8bc50d
commit 9667934ed9
1 changed files with 0 additions and 12 deletions

View File

@ -26,17 +26,5 @@ public LegacyDifficultyCalculatorBeatmapDecoder(int version = LATEST_VERSION)
AddDecoder<Beatmap>(@"osu file format v", m => new LegacyDifficultyCalculatorBeatmapDecoder(int.Parse(m.Split('v').Last())));
SetFallbackDecoder<Beatmap>(() => new LegacyDifficultyCalculatorBeatmapDecoder());
}
protected override TimingControlPoint CreateTimingControlPoint()
=> new LegacyDifficultyCalculatorTimingControlPoint();
private class LegacyDifficultyCalculatorTimingControlPoint : TimingControlPoint
{
public LegacyDifficultyCalculatorTimingControlPoint()
{
BeatLengthBindable.MinValue = double.MinValue;
BeatLengthBindable.MaxValue = double.MaxValue;
}
}
}
}