mirror of
https://github.com/ppy/osu
synced 2024-12-29 10:22:43 +00:00
Fix autogenerated breaks not invalidating on change to pre-empt time
This commit is contained in:
parent
c2fa30bf81
commit
c3062f96ee
@ -45,7 +45,7 @@ namespace osu.Game.Screens.Edit
|
||||
|
||||
private void autoGenerateBreaks()
|
||||
{
|
||||
var objectDuration = Beatmap.HitObjects.Select(ho => (ho.StartTime, ho.GetEndTime())).ToHashSet();
|
||||
var objectDuration = Beatmap.HitObjects.Select(ho => (ho.StartTime - ((ho as IHasTimePreempt)?.TimePreempt ?? 0), ho.GetEndTime())).ToHashSet();
|
||||
|
||||
if (objectDuration.SetEquals(objectDurationCache))
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user