From f2253b1bba8aed3a053b96366addde2ae2cd38a3 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Thu, 10 Dec 2020 15:30:28 +0100 Subject: [PATCH] Fix nullable errors in TileAtmosphere.cs --- Content.Server/Atmos/TileAtmosphere.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Atmos/TileAtmosphere.cs b/Content.Server/Atmos/TileAtmosphere.cs index 8cd4f43f60..0e210865d0 100644 --- a/Content.Server/Atmos/TileAtmosphere.cs +++ b/Content.Server/Atmos/TileAtmosphere.cs @@ -102,7 +102,7 @@ namespace Content.Server.Atmos public Vector2i GridIndices { get; } [ViewVariables] - public ExcitedGroup ExcitedGroup { get; set; } + public ExcitedGroup? ExcitedGroup { get; set; } /// /// The air in this tile. If null, this tile is completely airblocked. @@ -119,7 +119,7 @@ namespace Content.Server.Atmos [ViewVariables] public bool BlocksAllAir => BlockedAirflow == AtmosDirection.All; - public TileAtmosphere(GridAtmosphereComponent atmosphereComponent, GridId gridIndex, Vector2i gridIndices, GasMixture mixture = null, bool immutable = false) + public TileAtmosphere(GridAtmosphereComponent atmosphereComponent, GridId gridIndex, Vector2i gridIndices, GasMixture? mixture = null, bool immutable = false) { IoCManager.InjectDependencies(this); _gridAtmosphereComponent = atmosphereComponent;