mirror of https://github.com/ppy/osu
Resolve conflict issues
This commit is contained in:
parent
896c1dc202
commit
ee84364d7c
|
@ -51,7 +51,6 @@ public RulesetSkinProvidingContainer(Ruleset ruleset, IBeatmap beatmap, [CanBeNu
|
|||
private AudioManager audio { get; set; }
|
||||
|
||||
[Resolved]
|
||||
private SkinManager skinManager { get; set; }
|
||||
private ISkinSource skinSource { get; set; }
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
|
@ -84,6 +83,8 @@ protected virtual void UpdateSkins()
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
SkinSources.Add(new RulesetResourcesSkin(Ruleset, host, audio));
|
||||
}
|
||||
|
||||
protected ISkin GetLegacyRulesetTransformedSkin(ISkin legacySkin)
|
||||
|
@ -102,9 +103,6 @@ protected override void Dispose(bool isDisposing)
|
|||
{
|
||||
base.Dispose(isDisposing);
|
||||
|
||||
SkinSources.Add(Ruleset.CreateLegacySkinProvider(skinManager.DefaultSkin, Beatmap));
|
||||
|
||||
SkinSources.Add(new RulesetResourcesSkin(Ruleset, host, audio));
|
||||
if (skinSource != null)
|
||||
skinSource.SourceChanged -= OnSourceChanged;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue