mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-02-15 04:30:57 +01:00
Fix nullable errors in TileAtmosphere.cs
This commit is contained in:
@@ -102,7 +102,7 @@ namespace Content.Server.Atmos
|
||||
public Vector2i GridIndices { get; }
|
||||
|
||||
[ViewVariables]
|
||||
public ExcitedGroup ExcitedGroup { get; set; }
|
||||
public ExcitedGroup? ExcitedGroup { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 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;
|
||||
|
||||
Reference in New Issue
Block a user