Actually fix round restart audio this time (#24754)
In which I'm a goober and don't clean up after myself and accientally don't fix the issue I tried to fix in my last round restart PR. The audio is now maintained just like music during restarts (yippee to ContentAudioSystem::OnRoundRestart) This needs a refactor but at least the defect is fixed now.
This commit is contained in:
committed by
GitHub
parent
e7ee364af3
commit
2e7d23674e
@@ -525,9 +525,6 @@ namespace Content.Server.GameTicking
|
||||
{
|
||||
_playerGameStatuses[session.UserId] = LobbyEnabled ? PlayerGameStatus.NotReadyToPlay : PlayerGameStatus.ReadyToPlay;
|
||||
}
|
||||
|
||||
// Put a bangin' donk on it.
|
||||
_audio.PlayGlobal(_audio.GetSound(new SoundCollectionSpecifier("RoundEnd")), Filter.Broadcast(), true);
|
||||
}
|
||||
|
||||
public bool DelayStart(TimeSpan time)
|
||||
|
||||
Reference in New Issue
Block a user