Skip to content

Commit

Permalink
Unmute everyone on round start regardless of peace status
Browse files Browse the repository at this point in the history
  • Loading branch information
MSWS committed Aug 31, 2024
1 parent 4207c03 commit 943c1dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/Jailbreak.Mute/MuteSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public void PeaceMute(MuteReason reason) {

public void UnPeaceMute() {
if (guardTimer != null) unmuteGuards();

if (prisonerTimer != null) unmutePrisoners();
}

Expand All @@ -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;
}

Expand Down

0 comments on commit 943c1dd

Please sign in to comment.