mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 17:07:38 +08:00
Add ruleset resources skin before SkinManager.DefaultSkin
This commit is contained in:
parent
2e6800f586
commit
53fa229880
@ -50,6 +50,9 @@ namespace osu.Game.Skinning
|
||||
[Resolved]
|
||||
private AudioManager audio { get; set; }
|
||||
|
||||
[Resolved]
|
||||
private SkinManager skinManager { get; set; }
|
||||
|
||||
[Resolved]
|
||||
private ISkinSource skinSource { get; set; }
|
||||
|
||||
@ -84,7 +87,7 @@ namespace osu.Game.Skinning
|
||||
}
|
||||
}
|
||||
|
||||
SkinSources.Add(new RulesetResourcesSkin(Ruleset, host, audio));
|
||||
SkinSources.Insert(SkinSources.IndexOf(skinManager.DefaultSkin), new RulesetResourcesSkin(Ruleset, host, audio));
|
||||
}
|
||||
|
||||
protected ISkin GetLegacyRulesetTransformedSkin(ISkin legacySkin)
|
||||
|
Loading…
Reference in New Issue
Block a user