mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Ignore failed casts to make tests happy
This commit is contained in:
@ -21,8 +21,8 @@ namespace osu.Game.Screens.Play.HUD
|
||||
{
|
||||
base.SkinChanged(skin, allowFallback);
|
||||
|
||||
skinnedCounter = (IComboCounter)Drawable;
|
||||
skinnedCounter.Current.BindTo(Current);
|
||||
skinnedCounter = Drawable as IComboCounter;
|
||||
skinnedCounter?.Current.BindTo(Current);
|
||||
}
|
||||
|
||||
private static Drawable createDefault(ISkinComponent skinComponent) => new DefaultComboCounter();
|
||||
|
Reference in New Issue
Block a user