mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 17:13:06 +08:00
Play editor exit sound if no confirmation buttons were shown during exit process
This commit is contained in:
parent
7ac5019c08
commit
fd4529aa7c
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user