mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 10:33:07 +08:00
Fix timing screen crash when attempting to add group to self
Closes #18527.
This commit is contained in:
parent
c06045f41f
commit
5a0f716bf2
@ -189,7 +189,7 @@ namespace osu.Game.Screens.Edit.Timing
|
||||
// Try and create matching types from the currently selected control point.
|
||||
var selected = selectedGroup.Value;
|
||||
|
||||
if (selected != null)
|
||||
if (selected != null && selected != group)
|
||||
{
|
||||
foreach (var controlPoint in selected.ControlPoints)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user