mirror of
https://github.com/ppy/osu.git
synced 2026-06-03 16:46:05 +08:00
Merge pull request #34818 from smoogipoo/completion-handler-override
Preserve pre-post notification completion target
This commit is contained in:
@@ -180,7 +180,7 @@ namespace osu.Game.Overlays
|
||||
notification.Closed += () => notificationClosed(notification);
|
||||
|
||||
if (notification is IHasCompletionTarget hasCompletionTarget)
|
||||
hasCompletionTarget.CompletionTarget = Post;
|
||||
hasCompletionTarget.CompletionTarget ??= Post;
|
||||
|
||||
playDebouncedSample(notification.PopInSampleName);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user