1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 11:13:02 +08:00

Fix an occasional crash when deleting a HitObject via internal means

This commit is contained in:
Dean Herbert 2021-04-16 15:55:33 +09:00
parent a9d1d163bb
commit c59906e925

View File

@ -438,8 +438,8 @@ namespace osu.Game.Screens.Edit.Compose.Components
private void onBlueprintDeselected(SelectionBlueprint blueprint) private void onBlueprintDeselected(SelectionBlueprint blueprint)
{ {
SelectionHandler.HandleDeselected(blueprint);
SelectionBlueprints.ChangeChildDepth(blueprint, 0); SelectionBlueprints.ChangeChildDepth(blueprint, 0);
SelectionHandler.HandleDeselected(blueprint);
Composer.Playfield.SetKeepAlive(blueprint.HitObject, false); Composer.Playfield.SetKeepAlive(blueprint.HitObject, false);
} }