Tune spacing speed to fix under-pressure lockout (#28370)
This commit is contained in:
@@ -40,7 +40,7 @@ namespace Content.Server.Atmos.Piping.Unary.Components
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("underPressureLockoutThreshold")]
|
||||
public float UnderPressureLockoutThreshold = 2;
|
||||
public float UnderPressureLockoutThreshold = 60; // this must be tuned in conjunction with atmos.mmos_spacing_speed
|
||||
|
||||
/// <summary>
|
||||
/// Pressure locked vents still leak a little (leading to eventual pressurization of sealed sections)
|
||||
|
||||
@@ -1047,7 +1047,7 @@ namespace Content.Shared.CCVar
|
||||
/// 1.0 for instant spacing, 0.2 means 20% of remaining air lost each time
|
||||
/// </summary>
|
||||
public static readonly CVarDef<float> AtmosSpacingEscapeRatio =
|
||||
CVarDef.Create("atmos.mmos_spacing_speed", 0.05f, CVar.SERVERONLY);
|
||||
CVarDef.Create("atmos.mmos_spacing_speed", 0.15f, CVar.SERVERONLY);
|
||||
|
||||
/// <summary>
|
||||
/// Minimum amount of air allowed on a spaced tile before it is reset to 0 immediately in kPa
|
||||
|
||||
Reference in New Issue
Block a user