mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 04:02:59 +08:00
Remove redundant check
Co-Authored-By: Bartłomiej Dach <dach.bartlomiej@gmail.com>
This commit is contained in:
parent
83a4fb6f37
commit
8892f2c3dd
@ -41,7 +41,7 @@ namespace osu.Game.Rulesets.Osu.Mods
|
||||
{
|
||||
drawable.ApplyCustomUpdateState += (drawableHitObj, state) =>
|
||||
{
|
||||
if (!(drawableHitObj is DrawableOsuHitObject drawableOsuHitObj) || !(drawableHitObj is DrawableHitCircle hitCircle)) return;
|
||||
if (!(drawableHitObj is DrawableHitCircle hitCircle)) return;
|
||||
|
||||
var obj = drawableOsuHitObj.HitObject;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user