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
1 changed files with 5 additions and 1 deletions

View File

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