Attempt to fix things.

This commit is contained in:
smoogipooo
2017-03-12 22:38:50 +09:00
parent 447cc17de8
commit 7d129ebd6d
6 changed files with 21 additions and 24 deletions

View File

@ -104,10 +104,9 @@ namespace osu.Game.Modes.UI
foreach (var mod in mods)
{
var applyable = mod as IApplyableMod<HitRenderer<TObject>>;
var applyable = mod as IApplyableMod<TObject>;
if (applyable != null)
applyable.Apply(this);
applyable?.Apply(this);
}
}