Remove second overload of Close (makes the call structure hard to follow / invoke correctly)

This commit is contained in:
Dean Herbert
2021-02-11 14:18:00 +09:00
parent 2ee634d173
commit 72562070bc
2 changed files with 4 additions and 6 deletions

View File

@ -150,12 +150,12 @@ namespace osu.Game.Overlays.Notifications
colourCancelled = colours.Red;
}
public override void Close()
public override void Close(bool playSound = true)
{
switch (State)
{
case ProgressNotificationState.Cancelled:
base.Close();
base.Close(playSound);
break;
case ProgressNotificationState.Active: