From: Kevin Zheng Date: Wed, 29 May 2024 05:21:48 +0000 (-0800) Subject: Tune spacing speed to fix under-pressure lockout (#28370) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=4b9fa926c08ab5549a1263e0b65cbee31d632824;p=space-station-14.git Tune spacing speed to fix under-pressure lockout (#28370) --- diff --git a/Content.Server/Atmos/Piping/Unary/Components/GasVentPumpComponent.cs b/Content.Server/Atmos/Piping/Unary/Components/GasVentPumpComponent.cs index 74d945a0b6..32cf1cac6f 100644 --- a/Content.Server/Atmos/Piping/Unary/Components/GasVentPumpComponent.cs +++ b/Content.Server/Atmos/Piping/Unary/Components/GasVentPumpComponent.cs @@ -40,7 +40,7 @@ namespace Content.Server.Atmos.Piping.Unary.Components /// [ViewVariables(VVAccess.ReadWrite)] [DataField("underPressureLockoutThreshold")] - public float UnderPressureLockoutThreshold = 2; + public float UnderPressureLockoutThreshold = 60; // this must be tuned in conjunction with atmos.mmos_spacing_speed /// /// Pressure locked vents still leak a little (leading to eventual pressurization of sealed sections) diff --git a/Content.Shared/CCVar/CCVars.cs b/Content.Shared/CCVar/CCVars.cs index e5d08ad6f3..5ca34945d8 100644 --- a/Content.Shared/CCVar/CCVars.cs +++ b/Content.Shared/CCVar/CCVars.cs @@ -1047,7 +1047,7 @@ namespace Content.Shared.CCVar /// 1.0 for instant spacing, 0.2 means 20% of remaining air lost each time /// public static readonly CVarDef AtmosSpacingEscapeRatio = - CVarDef.Create("atmos.mmos_spacing_speed", 0.05f, CVar.SERVERONLY); + CVarDef.Create("atmos.mmos_spacing_speed", 0.15f, CVar.SERVERONLY); /// /// Minimum amount of air allowed on a spaced tile before it is reset to 0 immediately in kPa