mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 06:52:55 +08: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