Make the round end sound collection a cvar (#25741)
* Make the round end sound collection a cvar * Fix comment * Clarity
This commit is contained in:
@@ -392,7 +392,7 @@ 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"));
|
||||
var sound = RoundEndSoundCollection == null ? null : _audio.GetSound(new SoundCollectionSpecifier(RoundEndSoundCollection));
|
||||
|
||||
RaiseNetworkEvent(new RoundEndMessageEvent(gamemodeTitle, roundEndText, roundDuration, RoundId,
|
||||
listOfPlayerInfoFinal.Length, listOfPlayerInfoFinal, LobbySong, sound));
|
||||
|
||||
Reference in New Issue
Block a user