mirror of
https://github.com/ppy/osu
synced 2025-01-18 12:00:58 +00:00
Change SampleControlPoint
time to use leniency in bindable changed event too
This commit is contained in:
parent
5f61936700
commit
a7ae3cc03e
@ -97,9 +97,9 @@ namespace osu.Game.Rulesets.Objects
|
||||
|
||||
if (DifficultyControlPoint != DifficultyControlPoint.DEFAULT)
|
||||
DifficultyControlPoint.Time = time.NewValue;
|
||||
// traditionally this used EndTime, but at the point changes are being made in the editor this should no longer be considered relevant.
|
||||
|
||||
if (SampleControlPoint != SampleControlPoint.DEFAULT)
|
||||
SampleControlPoint.Time = time.NewValue;
|
||||
SampleControlPoint.Time = this.GetEndTime() + control_point_leniency;
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user