Update Legacy components to not require skin in ctor

This commit is contained in:
Dean Herbert
2021-05-10 22:36:20 +09:00
parent b54eb56169
commit 004798d61d
12 changed files with 68 additions and 46 deletions

View File

@ -334,13 +334,13 @@ namespace osu.Game.Skinning
return new LegacyComboCounter();
case HUDSkinComponents.ScoreCounter:
return new LegacyScoreCounter(this);
return new LegacyScoreCounter();
case HUDSkinComponents.AccuracyCounter:
return new LegacyAccuracyCounter(this);
return new LegacyAccuracyCounter();
case HUDSkinComponents.HealthDisplay:
return new LegacyHealthDisplay(this);
return new LegacyHealthDisplay();
}
return null;