Move CatchTheBeat section handling to LegacySkinDecoder

Best place to reside at
This commit is contained in:
Salman Ahmed 2020-04-05 22:10:35 +03:00
parent 42ac0c72ea
commit 1b76a53d32
2 changed files with 6 additions and 3 deletions

View File

@ -73,9 +73,6 @@ namespace osu.Game.Beatmaps.Formats
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;
}

View File

@ -44,6 +44,12 @@ namespace osu.Game.Skinning
}
break;
// osu!catch section only has colour settings
// so no harm in handling the entire section
case Section.CatchTheBeat:
HandleColours(skin, line);
return;
}
if (!string.IsNullOrEmpty(pair.Key))