mirror of
https://github.com/ppy/osu
synced 2024-12-25 00:02:48 +00:00
Move CatchTheBeat section handling to LegacySkinDecoder
Best place to reside at
This commit is contained in:
parent
42ac0c72ea
commit
1b76a53d32
@ -73,9 +73,6 @@ 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;
|
||||||
}
|
}
|
||||||
|
@ -44,6 +44,12 @@ namespace osu.Game.Skinning
|
|||||||
}
|
}
|
||||||
|
|
||||||
break;
|
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))
|
if (!string.IsNullOrEmpty(pair.Key))
|
||||||
|
Loading…
Reference in New Issue
Block a user