mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09: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:
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user