1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-01 12:30:30 +08:00

Prevent ExportReplay being spammed on fail by being held down

This was already handled in ReplayDownloadButton (https://github.com/ppy/osu/blob/98efff0bd61ea6cc5d6a884aeda1614d81592b9d/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
Unverified
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: