More responsive votekick system (reduce timer and successive timeout) (#36044)

* reduce votekick timer from 60 to 20 seconds

* votekick timeout from 120 to 30 seconds

* votekick timer duration from 20 seconds to 45, successive votekick timeout from 30 to 60 seconds
This commit is contained in:
K-Dynamic
2025-03-31 00:00:43 +12:00
committed by GitHub
parent 085e28dd00
commit 1f1cf06978

View File

@@ -146,13 +146,13 @@ public sealed partial class CCVars
/// The delay for which two votekicks are allowed to be made by separate people, in seconds. /// The delay for which two votekicks are allowed to be made by separate people, in seconds.
/// </summary> /// </summary>
public static readonly CVarDef<float> VotekickTimeout = public static readonly CVarDef<float> VotekickTimeout =
CVarDef.Create("votekick.timeout", 120f, CVar.SERVERONLY); CVarDef.Create("votekick.timeout", 60f, CVar.SERVERONLY);
/// <summary> /// <summary>
/// Sets the duration of the votekick vote timer. /// Sets the duration of the votekick vote timer.
/// </summary> /// </summary>
public static readonly CVarDef<int> public static readonly CVarDef<int>
VotekickTimer = CVarDef.Create("votekick.timer", 60, CVar.SERVERONLY); VotekickTimer = CVarDef.Create("votekick.timer", 45, CVar.SERVERONLY);
/// <summary> /// <summary>
/// Config for how many hours playtime a player must have to get protection from the Raider votekick type when playing as an antag. /// Config for how many hours playtime a player must have to get protection from the Raider votekick type when playing as an antag.