mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:12:54 +08:00
Prevent ExportReplay
being spammed on fail by being held down
This was already handled in ReplayDownloadButton (98efff0bd6/osu.Game/Screens/Ranking/ReplayDownloadButton.cs (L114-L115)
) but seemingly missed for SaveFailedScoreButton
This commit is contained in:
parent
a8c9db2115
commit
ebbc8333e8
@ -102,6 +102,9 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
public bool OnPressed(KeyBindingPressEvent<GlobalAction> e)
|
||||
{
|
||||
if (e.Repeat)
|
||||
return false;
|
||||
|
||||
switch (e.Action)
|
||||
{
|
||||
case GlobalAction.SaveReplay:
|
||||
|
Loading…
Reference in New Issue
Block a user