]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Made ghost.role_time a server modifiable only cvar (#25292)
authorVasilis <vasilis@pikachu.systems>
Thu, 15 Feb 2024 23:30:55 +0000 (00:30 +0100)
committerGitHub <noreply@github.com>
Thu, 15 Feb 2024 23:30:55 +0000 (00:30 +0100)
Fix

Content.Shared/CCVar/CCVars.cs

index aac3a17b6f8b7e220106a9042d9364715983f5a1..fb6b25b57f5aaf41e48a617e167b4c8cb76b7b75 100644 (file)
@@ -1836,7 +1836,7 @@ namespace Content.Shared.CCVar
         /// The time you must spend reading the rules, before the "Request" button is enabled
         /// </summary>
         public static readonly CVarDef<float> GhostRoleTime =
-            CVarDef.Create("ghost.role_time", 3f, CVar.REPLICATED);
+            CVarDef.Create("ghost.role_time", 3f, CVar.REPLICATED | CVar.SERVER);
 
         /*
          * Fire alarm