mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 16:47:46 +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", () =>
|
||||
{
|
||||
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();
|
||||
|
Loading…
Reference in New Issue
Block a user