diff --git a/Assets/Scripts/LevelEditor/Timeline/TempoTimelineObj.cs b/Assets/Scripts/LevelEditor/Timeline/TempoTimelineObj.cs index 3244b77cd..3477b06e1 100644 --- a/Assets/Scripts/LevelEditor/Timeline/TempoTimelineObj.cs +++ b/Assets/Scripts/LevelEditor/Timeline/TempoTimelineObj.cs @@ -56,6 +56,7 @@ namespace RhythmHeavenMania.Editor.Track else if (Input.GetMouseButtonDown(1)) { GameManager.instance.Beatmap.tempoChanges.Remove(tempoChange); + transform.parent.GetComponent().tempoTimelineObjs.Remove(this); Destroy(this.gameObject); }