mirror of
https://github.com/ppy/osu
synced 2024-12-29 10:22:43 +00:00
Apply the default SampleControlPoint
if not externally provided
This is mostly to handle tests for now, as generally this should be provided by an external source in all other cases.
This commit is contained in:
parent
2115d6f93e
commit
4da2dca339
@ -112,6 +112,10 @@ namespace osu.Game.Rulesets.Objects
|
||||
// This is done here since ApplyDefaultsToSelf may be used to determine the end time
|
||||
SampleControlPoint = legacyInfo.SamplePointAt(this.GetEndTime() + control_point_leniency);
|
||||
}
|
||||
else
|
||||
{
|
||||
SampleControlPoint ??= SampleControlPoint.DEFAULT;
|
||||
}
|
||||
|
||||
nestedHitObjects.Clear();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user