Skip to content

Commit 5dc08d4

Browse files
committed
Simplify important frame management
1 parent 5d69af5 commit 5dc08d4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

osu.Game.Rulesets.Osu.Tests/TestSceneSliderInput.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -501,10 +501,7 @@ public void TestHitNextCircleDuringTailLeniency()
501501
performTest(new List<ReplayFrame>
502502
{
503503
new OsuReplayFrame { Position = Vector2.Zero, Actions = { OsuAction.LeftButton }, Time = time_slider_start },
504-
// This frame is weird because the "up" frame can be skipped if the current time passes it (and is thus no longer in an important section).
505-
// So the idea is to instead generate another important frame at the intended time without yet hitting the next circle.
506-
new OsuReplayFrame { Position = new Vector2(100, 0), Actions = { OsuAction.RightButton }, Time = last_tick_time + 5 },
507-
new OsuReplayFrame { Position = new Vector2(140, 0), Actions = { OsuAction.LeftButton }, Time = last_tick_time + 20 },
504+
new OsuReplayFrame { Position = new Vector2(140, 0), Actions = { OsuAction.RightButton }, Time = last_tick_time + 20 },
508505
},
509506
[
510507
new Slider

0 commit comments

Comments
 (0)