mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 13:22:55 +08:00
Fix inverted condition
This commit is contained in:
parent
e5f53b1ad8
commit
db34f238c0
@ -163,7 +163,7 @@ namespace osu.Game.Overlays.Notifications
|
||||
return;
|
||||
|
||||
// Thread-safe barrier, as this may be called by a web request and also scheduled to the update thread at the same time.
|
||||
if (Interlocked.Exchange(ref completionSent, 1) == 0)
|
||||
if (Interlocked.Exchange(ref completionSent, 1) == 1)
|
||||
return;
|
||||
|
||||
CompletionTarget.Invoke(CreateCompletionNotification());
|
||||
|
Loading…
Reference in New Issue
Block a user