mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 20:23:00 +08:00
Fix enabling beatmap skin cause hitobjects to use LegacyApproachCircle
regardless of selected skin
This commit is contained in:
parent
e54d20ea93
commit
ed1e66b8f9
@ -2,6 +2,7 @@
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using System;
|
||||
using NUnit.Framework;
|
||||
using osu.Framework.Bindables;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Game.Rulesets.Osu.Objects;
|
||||
@ -163,7 +164,10 @@ namespace osu.Game.Rulesets.Osu.Skinning.Legacy
|
||||
return null;
|
||||
|
||||
case OsuSkinComponents.ApproachCircle:
|
||||
return new LegacyApproachCircle();
|
||||
if (IsProvidingLegacyResources)
|
||||
return new LegacyApproachCircle();
|
||||
|
||||
return null;
|
||||
|
||||
default:
|
||||
throw new UnsupportedSkinComponentException(lookup);
|
||||
|
Loading…
Reference in New Issue
Block a user