1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 14:17:26 +08:00

Fix dropped objects not removed on revert result

This commit is contained in:
ekrctb 2020-12-08 23:07:30 +09:00
parent 749d5380ca
commit 1f36bbecd1

View File

@ -274,7 +274,7 @@ namespace osu.Game.Rulesets.Catch.UI
} }
caughtFruitContainer.RemoveAll(d => d.HitObject == drawableObject.HitObject); caughtFruitContainer.RemoveAll(d => d.HitObject == drawableObject.HitObject);
droppedObjectTarget.RemoveAll(d => (d as DrawableCatchHitObject)?.HitObject == drawableObject.HitObject); droppedObjectTarget.RemoveAll(d => (d as CaughtObject)?.HitObject == drawableObject.HitObject);
hitExplosionContainer.RemoveAll(d => d.HitObject == drawableObject.HitObject); hitExplosionContainer.RemoveAll(d => d.HitObject == drawableObject.HitObject);
} }