mirror of
https://github.com/ppy/osu.git
synced 2026-05-21 05:01:20 +08:00
Play editor exit sound if no confirmation buttons were shown during exit process
This commit is contained in:
@@ -63,7 +63,7 @@ namespace osu.Game.Screens.Edit
|
||||
|
||||
public override bool? AllowTrackAdjustments => false;
|
||||
|
||||
protected override bool PlayExitSound => false;
|
||||
protected override bool PlayExitSound => !HasUnsavedChanges;
|
||||
|
||||
protected bool HasUnsavedChanges
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user