mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 23:47:24 +08:00
No need to compute end time manually anymore.
This commit is contained in:
parent
774e15b89d
commit
a03cffab58
@ -87,14 +87,13 @@ namespace osu.Game.Modes.Taiko.Beatmaps
|
||||
{
|
||||
double hitMultiplier = BeatmapDifficulty.DifficultyRange(beatmap.BeatmapInfo.Difficulty.OverallDifficulty, 3, 5, 7.5) * bash_convert_factor;
|
||||
|
||||
// We compute the end time manually to add in the Bash convert factor
|
||||
yield return new Swell
|
||||
{
|
||||
StartTime = obj.StartTime,
|
||||
Sample = obj.Sample,
|
||||
IsStrong = strong,
|
||||
|
||||
EndTime = obj.StartTime + endTimeData.Duration,
|
||||
EndTime = endTimeData.EndTime,
|
||||
RequiredHits = (int)Math.Max(1, endTimeData.Duration / 1000 * hitMultiplier)
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user