Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rxup committed Oct 26, 2023
1 parent 76a64ce commit a3ee28e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Content.Client/SS220/AnnounceTTS/AnnounceTTSSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ public override void Initialize()
_sawmill = Logger.GetSawmill("AnnounceTTSSystem");
_cfg.OnValueChanged(CCCVars.TTSAnnounceVolume, OnTtsVolumeChanged, true);
SubscribeNetworkEvent<AnnounceTTSEvent>(OnAnnounceTTSPlay);
SubscribeNetworkEvent<RoundRestartCleanupEvent>(OnCleanup);
}

private void OnCleanup(RoundRestartCleanupEvent ev)
{
EndStreams();
}

/// <inheritdoc />
Expand Down

0 comments on commit a3ee28e

Please sign in to comment.