mirror of
https://github.com/ppy/osu.git
synced 2025-01-19 02:52:54 +08:00
Fix migration failure due to change in class name
This commit is contained in:
parent
161734af95
commit
f6ada68e47
@ -251,13 +251,15 @@ namespace osu.Game.Skinning
|
||||
{
|
||||
case 1:
|
||||
{
|
||||
// Combo counters were moved out of the global HUD components into per-ruleset.
|
||||
// This is to allow some rulesets to customise further (ie. mania and catch moving the combo to within their play area).
|
||||
if (target != SkinComponentsContainerLookup.TargetArea.MainHUDComponents ||
|
||||
!layout.TryGetDrawableInfo(null, out var globalHUDComponents) ||
|
||||
resources == null)
|
||||
break;
|
||||
|
||||
var comboCounters = globalHUDComponents.Where(c =>
|
||||
c.Type.Name == nameof(LegacyComboCounter) ||
|
||||
c.Type.Name == nameof(LegacyDefaultComboCounter) ||
|
||||
c.Type.Name == nameof(DefaultComboCounter) ||
|
||||
c.Type.Name == nameof(ArgonComboCounter)).ToArray();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user