diff --git a/Content.Server/GameObjects/Components/Atmos/GridAtmosphereComponent.cs b/Content.Server/GameObjects/Components/Atmos/GridAtmosphereComponent.cs index 91bdd4b6cd..ea05c19642 100644 --- a/Content.Server/GameObjects/Components/Atmos/GridAtmosphereComponent.cs +++ b/Content.Server/GameObjects/Components/Atmos/GridAtmosphereComponent.cs @@ -13,7 +13,6 @@ using Robust.Shared.GameObjects.Components.Transform; using Robust.Shared.Interfaces.Map; using Robust.Shared.Interfaces.Timing; using Robust.Shared.IoC; -using Robust.Shared.Log; using Robust.Shared.Map; using Robust.Shared.Maths; using Robust.Shared.Serialization; @@ -191,7 +190,7 @@ namespace Content.Server.GameObjects.Components.Atmos tile.UpdateAdjacent(); tile.UpdateVisuals(); - foreach (var direction in Cardinal()) + foreach (var direction in Cardinal) { var otherIndices = indices.Offset(direction); var otherTile = GetTile(otherIndices); @@ -306,7 +305,7 @@ namespace Content.Server.GameObjects.Components.Atmos public Dictionary GetAdjacentTiles(MapIndices indices) { var sides = new Dictionary(); - foreach (var dir in Cardinal()) + foreach (var dir in Cardinal) { var side = indices.Offset(dir); var tile = GetTile(side); @@ -475,8 +474,8 @@ namespace Content.Server.GameObjects.Components.Atmos return null; } - private static IEnumerable Cardinal() => - new[] + private static readonly Direction[] Cardinal = + new [] { Direction.North, Direction.East, Direction.South, Direction.West }; diff --git a/Content.Shared/Atmos/Atmospherics.cs b/Content.Shared/Atmos/Atmospherics.cs index 9e8252c585..4659ab2441 100644 --- a/Content.Shared/Atmos/Atmospherics.cs +++ b/Content.Shared/Atmos/Atmospherics.cs @@ -59,7 +59,7 @@ namespace Content.Shared.Atmos public const float CellVolume = 2500f; /// - /// Moles in a 2.5 m^3 cell at 101.325 Pa and 20ºC + /// Moles in a 2.5 m^3 cell at 101.325 kPa and 20ºC /// public const float MolesCellStandard = (OneAtmosphere * CellVolume / (T20C * R));