Don't flip catcher plate contents in legacy skin

This commit is contained in:
ekrctb
2021-07-02 22:18:31 +09:00
parent fbba32647e
commit 83c80291d4
3 changed files with 34 additions and 2 deletions

View File

@ -103,6 +103,16 @@ namespace osu.Game.Rulesets.Catch.Skinning.Legacy
result.Value = LegacyColourCompatibility.DisallowZeroAlpha(result.Value);
return (IBindable<TValue>)result;
case CatchSkinConfiguration config:
switch (config)
{
case CatchSkinConfiguration.FlipCatcherPlate:
// Always return `false` (don't flip catcher plate contents) for a legacy skin.
return (IBindable<TValue>)new Bindable<bool>();
}
break;
}
return base.GetConfig<TLookup, TValue>(lookup);