1
0
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:
BlauFx 2020-03-15 20:41:28 +01:00 committed by GitHub
parent 83a4fb6f37
commit 8892f2c3dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;