1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-14 19:53:08 +08:00

Keep old behaviour of double.PositiveInfinity being the default for Interval

This commit is contained in:
tsunyoku 2025-01-22 13:26:12 +00:00
parent 2c0d6b14c8
commit 753e9ef7c7

View File

@ -57,7 +57,7 @@ namespace osu.Game.Rulesets.Taiko.Difficulty.Preprocessing.Rhythm.Data
: 1;
// Calculate the interval from the previous group's start time
Interval = Previous != null ? StartTime - Previous.StartTime : 0;
Interval = Previous != null ? StartTime - Previous.StartTime : double.PositiveInfinity;
}
}
}