Files
ss14-wega/Content.Shared/Atmos/EntitySystems/SharedAtmosphereSystem.CVars.cs
2026-01-14 15:21:04 -08:00

21 lines
585 B
C#

using System.Diagnostics.CodeAnalysis;
using Content.Shared.CCVar;
namespace Content.Shared.Atmos.EntitySystems;
public abstract partial class SharedAtmosphereSystem
{
/*
Partial class for storing shared configuration values.
*/
public float HeatScale { get; private set; }
[SuppressMessage("ReSharper", "BadExpressionBracesLineBreaks")]
[SuppressMessage("ReSharper", "MultipleStatementsOnOneLine")]
private void InitializeCVars()
{
Subs.CVar(_cfg, CCVars.AtmosHeatScale, value => { HeatScale = value; InitializeGases(); }, true);
}
}