From b5a2e8e8bb35c6f7fde21afce07cc7358ce3e5bd Mon Sep 17 00:00:00 2001 From: msk <15199219+muskit@users.noreply.github.com> Date: Mon, 18 Sep 2023 02:14:57 -0700 Subject: [PATCH] time sig denominator when --- Scripts/Data/Chart/Chart.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Scripts/Data/Chart/Chart.cs b/Scripts/Data/Chart/Chart.cs index 1121c13..8441f1c 100644 --- a/Scripts/Data/Chart/Chart.cs +++ b/Scripts/Data/Chart/Chart.cs @@ -129,8 +129,9 @@ namespace WacK.Data.Chart bpmChangeMeasures.Add(measure.Key); } else - queuedBPM = int.Parse(chartNote.Item2.value); - this.timeSigChgs.Add( + // TODO: handle denominator (note that gets the beat) + queuedBPM = int.Parse(chartNote.Item2.value.Split()[0]); + timeSigChgs.Add( curTime, new NoteEvent<(int, int)> ( curTime, mb,