1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:12:54 +08:00

Remove unnecessary null set

This commit is contained in:
smoogipoo 2020-04-10 01:21:37 +09:00
parent 116b952dfe
commit b8d7b78b55

View File

@ -78,12 +78,7 @@ namespace osu.Game.Rulesets.Osu.UI
bool result = base.Remove(h);
if (result)
{
DrawableOsuHitObject osuHitObject = (DrawableOsuHitObject)h;
osuHitObject.CheckHittable = null;
followPoints.RemoveFollowPoints(osuHitObject);
}
followPoints.RemoveFollowPoints((DrawableOsuHitObject)h);
return result;
}