Skip to content

Commit

Permalink
Fixed DrumsTrack.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
EscapeNumber001 committed Apr 19, 2023
1 parent e099d63 commit 143ed74
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Assets/Script/PlayMode/DrumsTrack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,14 @@ private void SpawnNote(NoteInfo noteInfo, float time) {

// Set note info
var noteComp = notePool.AddNote(noteInfo, pos);
noteComp.SetInfo(noteColors[noteInfo.fret], noteColors[noteInfo.fret], noteInfo.length, model);
startFCDetection = true;
noteComp.SetInfo(
commonTrack.NoteColor(noteInfo.fret),
commonTrack.SustainColor(noteInfo.fret),
noteInfo.length,
model,
noteInfo.isActivator
);
}
}
}

0 comments on commit 143ed74

Please sign in to comment.