mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 06:42:54 +08:00
Remove unnecessary copy
This commit is contained in:
parent
c8b0934573
commit
86445e7c23
@ -540,8 +540,7 @@ namespace osu.Game.Rulesets.Catch.UI
|
||||
|
||||
private void clearPlate(DroppedObjectAnimation animation)
|
||||
{
|
||||
var caughtObjects = caughtObjectContainer.Children.ToArray();
|
||||
var droppedObjects = caughtObjects.Select(getDroppedObject).ToArray();
|
||||
var droppedObjects = caughtObjectContainer.Children.Select(getDroppedObject).ToArray();
|
||||
|
||||
caughtObjectContainer.Clear(false);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user