1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-26 06:09:53 +08:00

Add note about break calculation method

This commit is contained in:
Dean Herbert
2023-11-17 18:49:19 +09:00
Unverified
parent 2ab84fdaa3
commit fd3508254b
@@ -68,6 +68,7 @@ namespace osu.Game.Rulesets.Osu.Scoring
// TODO: This doesn't handle overlapping/sequential breaks correctly (/b/614).
// Subtract any break time from the duration since the last object
// Note that this method is a bit convoluted, but matches stable code for compatibility.
if (Beatmap.Breaks.Count > 0 && currentBreak < Beatmap.Breaks.Count)
{
BreakPeriod e = Beatmap.Breaks[currentBreak];