1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 21:52:55 +08:00

Remove default combo colours usage from skins

This commit is contained in:
iiSaLMaN 2019-10-09 21:04:26 +03:00
parent 10c7fc139e
commit 281671a213
2 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ namespace osu.Game.Skinning
using (LineBufferedReader reader = new LineBufferedReader(stream)) using (LineBufferedReader reader = new LineBufferedReader(stream))
Configuration = new LegacySkinDecoder().Decode(reader); Configuration = new LegacySkinDecoder().Decode(reader);
else else
Configuration = new DefaultSkinConfiguration(); Configuration = new SkinConfiguration();
if (storage != null) if (storage != null)
{ {

View File

@ -5,14 +5,14 @@ using osu.Game.Beatmaps.Formats;
namespace osu.Game.Skinning namespace osu.Game.Skinning
{ {
public class LegacySkinDecoder : LegacyDecoder<DefaultSkinConfiguration> public class LegacySkinDecoder : LegacyDecoder<SkinConfiguration>
{ {
public LegacySkinDecoder() public LegacySkinDecoder()
: base(1) : base(1)
{ {
} }
protected override void ParseLine(DefaultSkinConfiguration skin, Section section, string line) protected override void ParseLine(SkinConfiguration skin, Section section, string line)
{ {
if (section != Section.Colours) if (section != Section.Colours)
{ {