1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 09:27:29 +08:00

Remove unnecessary extra "wait" frame

This commit is contained in:
smoogipoo 2020-01-03 16:24:39 +09:00
parent 97b4c65554
commit 9c49da8942

View File

@ -124,13 +124,6 @@ namespace osu.Game.Rulesets.Taiko.Replays
double calculatedDelay = canDelayKeyUp ? KEY_UP_DELAY : (nextHitObject.StartTime - endTime) * 0.9;
Frames.Add(new TaikoReplayFrame(endTime + calculatedDelay));
if (i < Beatmap.HitObjects.Count - 1)
{
double waitTime = Beatmap.HitObjects[i + 1].StartTime - 1000;
if (waitTime > endTime)
Frames.Add(new TaikoReplayFrame(waitTime));
}
hitButton = !hitButton;
}