Skip to content

Commit

Permalink
Add tournament challenge notification sound (#2033)
Browse files Browse the repository at this point in the history
  • Loading branch information
Distrib-ps committed Dec 4, 2022
1 parent 8367fe0 commit 61830b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/client-chat-tournament.js
Expand Up @@ -415,6 +415,7 @@
this.$challengeUserMenu.html(this.renderChallengeUsers());
this.toggleBoxVisibility(true);
if (!this.$challenge.hasClass('active')) {
app.playNotificationSound();
if (notify) this.room.notifyOnce("Tournament challenges available", "Room: " + this.room.title, 'tournament-challenges');
}
}
Expand Down

0 comments on commit 61830b4

Please sign in to comment.