mirror of
https://github.com/osukey/osukey.git
synced 2025-05-17 11:37:32 +09:00
Always add TimingChange control points.
This commit is contained in:
parent
002a0e99a2
commit
2344f37a3c
@ -278,12 +278,11 @@ namespace osu.Game.Beatmaps.Formats
|
|||||||
if (stringSampleSet == @"none")
|
if (stringSampleSet == @"none")
|
||||||
stringSampleSet = @"normal";
|
stringSampleSet = @"normal";
|
||||||
|
|
||||||
TimingControlPoint timingPoint = beatmap.ControlPointInfo.TimingPointAt(time);
|
|
||||||
DifficultyControlPoint difficultyPoint = beatmap.ControlPointInfo.DifficultyPointAt(time);
|
DifficultyControlPoint difficultyPoint = beatmap.ControlPointInfo.DifficultyPointAt(time);
|
||||||
SoundControlPoint soundPoint = beatmap.ControlPointInfo.SoundPointAt(time);
|
SoundControlPoint soundPoint = beatmap.ControlPointInfo.SoundPointAt(time);
|
||||||
EffectControlPoint effectPoint = beatmap.ControlPointInfo.EffectPointAt(time);
|
EffectControlPoint effectPoint = beatmap.ControlPointInfo.EffectPointAt(time);
|
||||||
|
|
||||||
if (timingChange && (beatLength != timingPoint.BeatLength || timeSignature != timingPoint.TimeSignature))
|
if (timingChange)
|
||||||
{
|
{
|
||||||
beatmap.ControlPointInfo.TimingPoints.Add(new TimingControlPoint
|
beatmap.ControlPointInfo.TimingPoints.Add(new TimingControlPoint
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user