mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Write out DifficultyControlPoint
s into HitObject
s
This commit is contained in:
@ -68,6 +68,8 @@ namespace osu.Game.Rulesets.Objects
|
||||
|
||||
public SampleControlPoint SampleControlPoint;
|
||||
|
||||
public DifficultyControlPoint DifficultyControlPoint;
|
||||
|
||||
/// <summary>
|
||||
/// Whether this <see cref="HitObject"/> is in Kiai time.
|
||||
/// </summary>
|
||||
@ -110,10 +112,12 @@ 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);
|
||||
DifficultyControlPoint = legacyInfo.DifficultyPointAt(StartTime);
|
||||
}
|
||||
else
|
||||
{
|
||||
SampleControlPoint ??= SampleControlPoint.DEFAULT;
|
||||
DifficultyControlPoint ??= DifficultyControlPoint.DEFAULT;
|
||||
}
|
||||
|
||||
nestedHitObjects.Clear();
|
||||
|
Reference in New Issue
Block a user