Fixes round restart audio clipping (#24044)

* Fix round end audio clipping

* weh

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
Hannah Giovanna Dawson
2024-01-20 03:40:00 +00:00
committed by GitHub
parent ed2fa96ca0
commit 5af1d0ea8b
4 changed files with 32 additions and 2 deletions

View File

@@ -385,9 +385,10 @@ namespace Content.Server.GameTicking
// This ordering mechanism isn't great (no ordering of minds) but functions
var listOfPlayerInfoFinal = listOfPlayerInfo.OrderBy(pi => pi.PlayerOOCName).ToArray();
var sound = _audio.GetSound(new SoundCollectionSpecifier("RoundEnd"));
RaiseNetworkEvent(new RoundEndMessageEvent(gamemodeTitle, roundEndText, roundDuration, RoundId,
listOfPlayerInfoFinal.Length, listOfPlayerInfoFinal, LobbySong));
listOfPlayerInfoFinal.Length, listOfPlayerInfoFinal, LobbySong, sound));
}
private async void SendRoundEndDiscordMessage()