From d250dde537ff671321c5f845da50cff64790af58 Mon Sep 17 00:00:00 2001 From: ocboogie Date: Wed, 12 Apr 2017 02:50:03 -0700 Subject: [PATCH] Fixed repeat keys working for retrying --- osu.Game/Screens/Play/FailOverlay.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/osu.Game/Screens/Play/FailOverlay.cs b/osu.Game/Screens/Play/FailOverlay.cs index 7a32e19338..1cd34e45e7 100644 --- a/osu.Game/Screens/Play/FailOverlay.cs +++ b/osu.Game/Screens/Play/FailOverlay.cs @@ -17,6 +17,7 @@ namespace osu.Game.Screens.Play public override string Description => "you're dead, try again?"; protected override bool OnKeyDown(InputState state, KeyDownEventArgs args) { + if (args.Repeat) return false; if (args.Key == Key.Escape) { if (State == Visibility.Hidden) return false;