Add missing DataField for currentTemperature (#14179)
This commit is contained in:
@@ -15,6 +15,7 @@ namespace Content.Server.Temperature.Components
|
|||||||
public sealed class TemperatureComponent : Component
|
public sealed class TemperatureComponent : Component
|
||||||
{
|
{
|
||||||
[ViewVariables(VVAccess.ReadWrite)]
|
[ViewVariables(VVAccess.ReadWrite)]
|
||||||
|
[DataField("currentTemperature")]
|
||||||
public float CurrentTemperature { get; set; } = Atmospherics.T20C;
|
public float CurrentTemperature { get; set; } = Atmospherics.T20C;
|
||||||
|
|
||||||
[DataField("heatDamageThreshold")]
|
[DataField("heatDamageThreshold")]
|
||||||
|
|||||||
Reference in New Issue
Block a user