Fix Round Restarted Announcements not playing (#23387)

* Fix Round Restarted Announcements not playing

Just make the RoundFlow manager play the funny
announcement sound effect, rather than pass it
through to players in an event that doesn't work.

Only three round end announcements probably
isn't enough. Maybe it is time for fresh memes.

* Remove the handling in ClientGameTicker.

* Pass in a specific filepass to broadcast.

* you make one line change in vscode and the linter
goes AH-HAH I CAN HELP YOU LET ME CLEAN
THIS UP and I'm like 😔 and have to revert
This commit is contained in:
Hannah Giovanna Dawson
2024-01-06 03:15:28 +00:00
committed by GitHub
parent a2fdad31ed
commit a9075e5d24
3 changed files with 7 additions and 28 deletions

View File

@@ -166,8 +166,7 @@ namespace Content.Shared.GameTicking
int roundId,
int playerCount,
RoundEndPlayerInfo[] allPlayersEndInfo,
string? lobbySong,
string? restartSound)
string? lobbySong)
{
GamemodeTitle = gamemodeTitle;
RoundEndText = roundEndText;
@@ -176,11 +175,9 @@ namespace Content.Shared.GameTicking
PlayerCount = playerCount;
AllPlayersEndInfo = allPlayersEndInfo;
LobbySong = lobbySong;
RestartSound = restartSound;
}
}
[Serializable, NetSerializable]
public enum PlayerGameStatus : sbyte
{