Skip to content

Commit

Permalink
Update MuteSystem.cs (#188)
Browse files Browse the repository at this point in the history
Change the initial warden mute time to baseTime / 2 from baseTime
 This will make rounds more fun :)
Ts can talk after 15-30 secs instead 30-60 secs
  • Loading branch information
MSWS authored Jul 1, 2024
2 parents 729fa92 + 43eae70 commit ad73fa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod/Jailbreak.Mute/MuteSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ private int GetPeaceDuration(MuteReason reason)
{
MuteReason.ADMIN => baseTime,
MuteReason.WARDEN_TAKEN => baseTime / 5,
MuteReason.INITIAL_WARDEN => baseTime,
MuteReason.INITIAL_WARDEN => (int) Math.Ceiling(baseTime / 2.0),
MuteReason.WARDEN_INVOKED => baseTime / 2,
_ => baseTime
};
Expand Down Expand Up @@ -254,4 +254,4 @@ private bool BypassMute(CCSPlayerController player)
{
return player.IsReal() && AdminManager.PlayerHasPermissions(player, "@css/chat");
}
}
}

0 comments on commit ad73fa5

Please sign in to comment.