Enables nullables for atmos internals
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
#nullable disable warnings
|
||||
#nullable enable annotations
|
||||
using Content.Shared.Atmos;
|
||||
using Content.Shared.Maps;
|
||||
using Robust.Shared.Map;
|
||||
@@ -71,6 +69,12 @@ namespace Content.Server.Atmos
|
||||
[ViewVariables]
|
||||
public GasMixture? Air { get; set; }
|
||||
|
||||
GasMixture IGasMixtureHolder.Air
|
||||
{
|
||||
get => Air ?? new GasMixture(Atmospherics.CellVolume){ Temperature = Temperature };
|
||||
set => Air = value;
|
||||
}
|
||||
|
||||
[ViewVariables]
|
||||
public float MaxFireTemperatureSustained { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user