mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-27 12:03:00 +00:00
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:
parent
a8e1ce0ef0
commit
fd748e8309
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ namespace RhythmHeavenMania.Editor.Track
|
||||||
else if (Input.GetMouseButtonDown(1))
|
else if (Input.GetMouseButtonDown(1))
|
||||||
{
|
{
|
||||||
GameManager.instance.Beatmap.tempoChanges.Remove(tempoChange);
|
GameManager.instance.Beatmap.tempoChanges.Remove(tempoChange);
|
||||||
|
transform.parent.GetComponent<TempoTimeline>().tempoTimelineObjs.Remove(this);
|
||||||
Destroy(this.gameObject);
|
Destroy(this.gameObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue