1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 02:03:22 +08:00

Play editor exit sound if no confirmation buttons were shown during exit process

This commit is contained in:
Dean Herbert 2022-06-15 17:37:54 +09:00
parent 7ac5019c08
commit fd4529aa7c

View File

@ -63,7 +63,7 @@ namespace osu.Game.Screens.Edit
public override bool? AllowTrackAdjustments => false; public override bool? AllowTrackAdjustments => false;
protected override bool PlayExitSound => false; protected override bool PlayExitSound => !HasUnsavedChanges;
protected bool HasUnsavedChanges protected bool HasUnsavedChanges
{ {