1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 18:07:23 +08:00

Add note about break calculation method

This commit is contained in:
Dean Herbert 2023-11-17 18:49:19 +09:00
parent 2ab84fdaa3
commit fd3508254b
No known key found for this signature in database

View File

@ -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];