mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 15:57:24 +08:00
Fix broken test step
This commit is contained in:
parent
ada9c48bde
commit
9681ee7eeb
@ -62,7 +62,9 @@ namespace osu.Game.Tests.Visual.Gameplay
|
|||||||
AddStep("Add random", () =>
|
AddStep("Add random", () =>
|
||||||
{
|
{
|
||||||
Key key = (Key)((int)Key.A + RNG.Next(26));
|
Key key = (Key)((int)Key.A + RNG.Next(26));
|
||||||
controller.Add(new KeyCounterKeyboardTrigger(key));
|
var trigger = new KeyCounterKeyboardTrigger(key);
|
||||||
|
Add(trigger);
|
||||||
|
controller.Add(trigger);
|
||||||
});
|
});
|
||||||
|
|
||||||
InputTrigger testTrigger = controller.Triggers.First();
|
InputTrigger testTrigger = controller.Triggers.First();
|
||||||
|
Loading…
Reference in New Issue
Block a user