mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 03:35:10 +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
e829d30f25
commit
a43a81a566
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue