Add missing DataField for currentTemperature (#14179)

This commit is contained in:
Kevin Zheng 2023-02-19 06:57:09 -08:00 committed by GitHub
parent f5d6588e52
commit 4498cfe452
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,7 @@ namespace Content.Server.Temperature.Components
public sealed class TemperatureComponent : Component
{
[ViewVariables(VVAccess.ReadWrite)]
[DataField("currentTemperature")]
public float CurrentTemperature { get; set; } = Atmospherics.T20C;
[DataField("heatDamageThreshold")]