Fix QuaverChartConverter not generating endbeat of chart.

This commit is contained in:
2022-12-13 15:10:00 +08:00
parent 251f92532d
commit 04abf59521

View File

@@ -95,6 +95,9 @@ namespace Cryville.Crtr.Extensions.Quaver {
}
else throw new NotSupportedException("Sound effects are not supported yet");
}
var endbeat = tm.FractionalBeatTime;
endbeat.b += 4;
chart.endtime = endbeat;
meta.length = (float)tm.Time;
return result;
}