Plays a little ding when a vote gets called. (#5386)
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
BIN
Resources/Audio/Effects/voteding.ogg
Normal file
BIN
Resources/Audio/Effects/voteding.ogg
Normal file
Binary file not shown.
Reference in New Issue
Block a user