Plays a little ding when a vote gets called. (#5386)
This commit is contained in:
parent
7da2879220
commit
859b7faa61
|
|
@ -8,6 +8,8 @@ using Robust.Client.UserInterface;
|
|||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Network;
|
||||
using Robust.Shared.Timing;
|
||||
using Robust.Shared.Player;
|
||||
using Robust.Shared.Audio;
|
||||
|
||||
|
||||
namespace Content.Client.Voting
|
||||
|
|
@ -115,6 +117,7 @@ namespace Content.Client.Voting
|
|||
}
|
||||
|
||||
@new = true;
|
||||
SoundSystem.Play(Filter.Local(), "/Audio/Effects/voteding.ogg");
|
||||
|
||||
// New vote from the server.
|
||||
var vote = new ActiveVote(voteId)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
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.
Loading…
Reference in New Issue