mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 05:32:54 +08:00
Reset combo in different way
This commit is contained in:
parent
9404eac227
commit
34d235b790
@ -137,7 +137,7 @@ namespace osu.Game.Rulesets.Osu.Tests.Mods
|
|||||||
AddAssert("cursor must start visible", () => cursorAlphaAlmostEquals(1));
|
AddAssert("cursor must start visible", () => cursorAlphaAlmostEquals(1));
|
||||||
AddUntilStep("wait for combo", () => Player.ScoreProcessor.Combo.Value >= 2);
|
AddUntilStep("wait for combo", () => Player.ScoreProcessor.Combo.Value >= 2);
|
||||||
AddAssert("cursor must dim after combo", () => !cursorAlphaAlmostEquals(1));
|
AddAssert("cursor must dim after combo", () => !cursorAlphaAlmostEquals(1));
|
||||||
AddStep("break combo", () => Player.ScoreProcessor.Combo.Set(0));
|
AddStep("break combo", () => Player.ScoreProcessor.Combo.Value = 0);
|
||||||
AddUntilStep("wait for cursor to show", () => cursorAlphaAlmostEquals(1));
|
AddUntilStep("wait for cursor to show", () => cursorAlphaAlmostEquals(1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user