]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
More responsive votekick system (reduce timer and successive timeout) (#36044)
authorK-Dynamic <20566341+K-Dynamic@users.noreply.github.com>
Sun, 30 Mar 2025 12:00:43 +0000 (00:00 +1200)
committerGitHub <noreply@github.com>
Sun, 30 Mar 2025 12:00:43 +0000 (14:00 +0200)
* 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

Content.Shared/CCVar/CCVars.Vote.cs

index ee9fee7d3db2c7c59f2c115bd2cf974b478569f3..deb860e03cf72f41d5a37b06fdd5b661e28bb771 100644 (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.
     /// </summary>
     public static readonly CVarDef<float> VotekickTimeout =
-        CVarDef.Create("votekick.timeout", 120f, CVar.SERVERONLY);
+        CVarDef.Create("votekick.timeout", 60f, CVar.SERVERONLY);
 
     /// <summary>
     ///     Sets the duration of the votekick vote timer.
     /// </summary>
     public static readonly CVarDef<int>
-        VotekickTimer = CVarDef.Create("votekick.timer", 60, CVar.SERVERONLY);
+        VotekickTimer = CVarDef.Create("votekick.timer", 45, CVar.SERVERONLY);
 
     /// <summary>
     ///     Config for how many hours playtime a player must have to get protection from the Raider votekick type when playing as an antag.