mirror of
https://github.com/ppy/osu.git
synced 2025-01-07 22:22:59 +08:00
Add note about break calculation method
This commit is contained in:
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).
|
// TODO: This doesn't handle overlapping/sequential breaks correctly (/b/614).
|
||||||
// Subtract any break time from the duration since the last object
|
// 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)
|
if (Beatmap.Breaks.Count > 0 && currentBreak < Beatmap.Breaks.Count)
|
||||||
{
|
{
|
||||||
BreakPeriod e = Beatmap.Breaks[currentBreak];
|
BreakPeriod e = Beatmap.Breaks[currentBreak];
|
||||||
|
Loading…
Reference in New Issue
Block a user