1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-14 02:23:21 +08:00

Add handling for legacy CatchTheBeat section in LegacyDecoder

This commit is contained in:
Salman Ahmed 2020-04-05 00:10:12 +03:00
parent c4f7b45768
commit 10e65c4f53

View File

@ -73,6 +73,9 @@ namespace osu.Game.Beatmaps.Formats
switch (section) switch (section)
{ {
case Section.Colours: case Section.Colours:
// osu!catch section only has colour settings
// so no harm in handling the entire section
case Section.CatchTheBeat:
HandleColours(output, line); HandleColours(output, line);
return; return;
} }
@ -149,7 +152,8 @@ namespace osu.Game.Beatmaps.Formats
HitObjects, HitObjects,
Variables, Variables,
Fonts, Fonts,
Mania CatchTheBeat,
Mania,
} }
internal class LegacyDifficultyControlPoint : DifficultyControlPoint internal class LegacyDifficultyControlPoint : DifficultyControlPoint