1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 02:09:52 +08:00

Merge pull request #18528 from peppy/fix-add-new-timing-crash

Fix timing screen crash when attempting to add group to self
This commit is contained in:
Bartłomiej Dach
2022-06-03 00:45:32 +02:00
committed by GitHub
Unverified
+1 -1
View File
@@ -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)
{