Plays a little ding when a vote gets called. (#5386)

This commit is contained in:
Mith-randalf
2021-11-18 09:45:35 +00:00
committed by GitHub
parent 7da2879220
commit 859b7faa61
3 changed files with 4 additions and 0 deletions

View File

@@ -8,6 +8,8 @@ using Robust.Client.UserInterface;
using Robust.Shared.IoC; using Robust.Shared.IoC;
using Robust.Shared.Network; using Robust.Shared.Network;
using Robust.Shared.Timing; using Robust.Shared.Timing;
using Robust.Shared.Player;
using Robust.Shared.Audio;
namespace Content.Client.Voting namespace Content.Client.Voting
@@ -115,6 +117,7 @@ namespace Content.Client.Voting
} }
@new = true; @new = true;
SoundSystem.Play(Filter.Local(), "/Audio/Effects/voteding.ogg");
// New vote from the server. // New vote from the server.
var vote = new ActiveVote(voteId) var vote = new ActiveVote(voteId)

View File

@@ -9,3 +9,4 @@ adminhelp.ogg taken from https://github.com/tgstation/tgstation/blob/d775e1ac804
Actual source is https://freesound.org/people/martian/sounds/19261/ (CC0) Actual source is https://freesound.org/people/martian/sounds/19261/ (CC0)
The sound had been reversed and the volume altered. The sound had been reversed and the volume altered.
voteding.ogg taken from "Bike, Bell Ding, Single, 01-01.wav" by InspectorJ (www.jshaw.co.uk) of Freesound.org at https://freesound.org/people/InspectorJ/sounds/484344/ under CC BY 3.0. The volume has been reduced.

Binary file not shown.