mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 09:57:21 +09:00
Remove unlimited timing points in difficulty calculation
This commit is contained in:
parent
42bc8bc50d
commit
9667934ed9
@ -26,17 +26,5 @@ namespace osu.Game.Beatmaps.Formats
|
|||||||
AddDecoder<Beatmap>(@"osu file format v", m => new LegacyDifficultyCalculatorBeatmapDecoder(int.Parse(m.Split('v').Last())));
|
AddDecoder<Beatmap>(@"osu file format v", m => new LegacyDifficultyCalculatorBeatmapDecoder(int.Parse(m.Split('v').Last())));
|
||||||
SetFallbackDecoder<Beatmap>(() => new LegacyDifficultyCalculatorBeatmapDecoder());
|
SetFallbackDecoder<Beatmap>(() => new LegacyDifficultyCalculatorBeatmapDecoder());
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override TimingControlPoint CreateTimingControlPoint()
|
|
||||||
=> new LegacyDifficultyCalculatorTimingControlPoint();
|
|
||||||
|
|
||||||
private class LegacyDifficultyCalculatorTimingControlPoint : TimingControlPoint
|
|
||||||
{
|
|
||||||
public LegacyDifficultyCalculatorTimingControlPoint()
|
|
||||||
{
|
|
||||||
BeatLengthBindable.MinValue = double.MinValue;
|
|
||||||
BeatLengthBindable.MaxValue = double.MaxValue;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user