Use GetEndTime in Taiko and Mania

This commit is contained in:
Huo Yaoyuan
2019-12-14 18:02:56 +08:00
parent e96723434c
commit ddb2cfc46d
5 changed files with 7 additions and 11 deletions

View File

@ -104,7 +104,7 @@ namespace osu.Game.Rulesets.Objects
ApplyDefaultsToSelf(controlPointInfo, difficulty);
// This is done here since ApplyDefaultsToSelf may be used to determine the end time
SampleControlPoint = controlPointInfo.SamplePointAt(((this as IHasEndTime)?.EndTime ?? StartTime) + control_point_leniency);
SampleControlPoint = controlPointInfo.SamplePointAt(this.GetEndTime() + control_point_leniency);
nestedHitObjects.Clear();