Fixed tempo change bug

Tempo changes that were deleted would still exist in some places and break the check that determines if a new change should be placed.
This commit is contained in:
Slaith 2022-02-24 23:01:41 -08:00
parent a8e1ce0ef0
commit fd748e8309

View file

@ -56,6 +56,7 @@ namespace RhythmHeavenMania.Editor.Track
else if (Input.GetMouseButtonDown(1))
{
GameManager.instance.Beatmap.tempoChanges.Remove(tempoChange);
transform.parent.GetComponent<TempoTimeline>().tempoTimelineObjs.Remove(this);
Destroy(this.gameObject);
}