mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 13:37:25 +08:00
Add difficulty calculator beatmap decoder fallback
This commit is contained in:
parent
6268bbcfc8
commit
ffde389641
@ -24,6 +24,7 @@ namespace osu.Game.Beatmaps.Formats
|
|||||||
public new static void Register()
|
public new static void Register()
|
||||||
{
|
{
|
||||||
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());
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override TimingControlPoint CreateTimingControlPoint()
|
protected override TimingControlPoint CreateTimingControlPoint()
|
||||||
|
Loading…
Reference in New Issue
Block a user