mirror of https://github.com/ppy/osu
Fix default skin catcher not flipping catcher plate
When legacy beatmap skin is present but catcher is not provided, it was using the legacy setting (always false).
This commit is contained in:
parent
333caca386
commit
d247b8042e
|
@ -108,8 +108,11 @@ public override IBindable<TValue> GetConfig<TLookup, TValue>(TLookup lookup)
|
|||
switch (config)
|
||||
{
|
||||
case CatchSkinConfiguration.FlipCatcherPlate:
|
||||
// Always return `false` (don't flip catcher plate contents) for a legacy skin.
|
||||
return (IBindable<TValue>)new Bindable<bool>();
|
||||
// Don't flip catcher plate contents if the catcher is provided by this legacy skin.
|
||||
if (GetDrawableComponent(new CatchSkinComponent(CatchSkinComponents.Catcher)) != null)
|
||||
return (IBindable<TValue>)new Bindable<bool>();
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue