Skip to content

Commit

Permalink
Fix incorrect warden mute timing
Browse files Browse the repository at this point in the history
  • Loading branch information
MSWS committed Jun 29, 2024
1 parent d472f25 commit 729fa92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/Jailbreak.Warden/Global/WardenBehavior.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public bool TrySetWarden(CCSPlayerController controller)
logs.Append(logs.Player(_warden), "is now the warden.");

_unblueTimer = _parent.AddTimer(3, UnmarkPrisonersBlue);
mute.PeaceMute(firstWarden ? MuteReason.WARDEN_TAKEN : MuteReason.INITIAL_WARDEN);
mute.PeaceMute(firstWarden ? MuteReason.INITIAL_WARDEN : MuteReason.WARDEN_TAKEN);

// Always store the stats of the warden b4 they became warden, in case we need to restore them later.
var wardenPawn = _warden.PlayerPawn.Value;
Expand Down

0 comments on commit 729fa92

Please sign in to comment.