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.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)