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

Fixed repeat keys working for retrying

This commit is contained in:
ocboogie 2017-04-12 02:50:03 -07:00
parent 348dd71406
commit d250dde537

View File

@ -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;