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

Reset combo in test in a less weird way

This commit is contained in:
Bartłomiej Dach 2021-11-10 12:05:14 +01:00
parent 6d04823b05
commit 5e3ac5ac9f
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -95,7 +95,7 @@ namespace osu.Game.Rulesets.Catch.Tests.Mods
AddAssert("catcher must start visible", () => catcherAlphaAlmostEquals(1));
AddUntilStep("wait for combo", () => Player.ScoreProcessor.Combo.Value >= 2);
AddAssert("catcher must dim after combo", () => !catcherAlphaAlmostEquals(1));
AddStep("break combo", () => Player.ScoreProcessor.Combo.Set(0));
AddStep("break combo", () => Player.ScoreProcessor.Combo.Value = 0);
AddUntilStep("wait for catcher to show", () => catcherAlphaAlmostEquals(1));
}