1
0
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:
rushiiMachine 2023-12-19 23:36:57 -08:00
parent a8c9db2115
commit ebbc8333e8
No known key found for this signature in database
GPG Key ID: DCBE5952BB3B6420

View File

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