From 943c1dd85357009220b0ac27203c5ef6878a3536 Mon Sep 17 00:00:00 2001 From: MSWS Date: Sat, 31 Aug 2024 03:05:37 -0700 Subject: [PATCH] Unmute everyone on round start regardless of peace status --- mod/Jailbreak.Mute/MuteSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/Jailbreak.Mute/MuteSystem.cs b/mod/Jailbreak.Mute/MuteSystem.cs index 89eb9de3..9775d933 100644 --- a/mod/Jailbreak.Mute/MuteSystem.cs +++ b/mod/Jailbreak.Mute/MuteSystem.cs @@ -61,7 +61,6 @@ public void PeaceMute(MuteReason reason) { public void UnPeaceMute() { if (guardTimer != null) unmuteGuards(); - if (prisonerTimer != null) unmutePrisoners(); } @@ -85,6 +84,7 @@ public void Dispose() { [GameEventHandler] public HookResult OnRoundStart(EventRoundStart @event, GameEventInfo info) { UnPeaceMute(); + foreach (var player in Utilities.GetPlayers()) unmute(player); return HookResult.Continue; }