Don't show great or higher judgements when using argon "pro" skin

This commit is contained in:
Dean Herbert 2022-12-24 03:35:44 +08:00
parent e8a0f8996c
commit 03603f8b54
3 changed files with 12 additions and 0 deletions

View File

@ -27,6 +27,10 @@ public ManiaArgonSkinTransformer(ISkin skin, IBeatmap beatmap)
switch (lookup)
{
case GameplaySkinComponentLookup<HitResult> resultComponent:
// This should eventually be moved to a skin setting, when supported.
if (Skin is ArgonProSkin && resultComponent.Component >= HitResult.Great)
return Drawable.Empty();
return new ArgonJudgementPiece(resultComponent.Component);
case ManiaSkinComponentLookup maniaComponent:

View File

@ -19,6 +19,10 @@ public OsuArgonSkinTransformer(ISkin skin)
switch (lookup)
{
case GameplaySkinComponentLookup<HitResult> resultComponent:
// This should eventually be moved to a skin setting, when supported.
if (Skin is ArgonProSkin && resultComponent.Component >= HitResult.Great)
return Drawable.Empty();
return new ArgonJudgementPiece(resultComponent.Component);
case OsuSkinComponentLookup osuComponent:

View File

@ -19,6 +19,10 @@ public TaikoArgonSkinTransformer(ISkin skin)
switch (component)
{
case GameplaySkinComponentLookup<HitResult> resultComponent:
// This should eventually be moved to a skin setting, when supported.
if (Skin is ArgonProSkin && resultComponent.Component >= HitResult.Great)
return Drawable.Empty();
return new ArgonJudgementPiece(resultComponent.Component);
case TaikoSkinComponentLookup taikoComponent: