mirror of
https://github.com/osukey/osukey.git
synced 2025-05-07 22:57:31 +09:00
Merge pull request #12441 from peppy/fix-potential-deselection-crash
Fix an occasional crash when deleting a HitObject via internal means
This commit is contained in:
commit
b8d5839baf
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user