Health analyzers and cryopods also show temperature in Kelvin (#24643)

Health analyzers and cryopods also show temperature in kelvin
This commit is contained in:
Krunklehorn
2024-01-28 20:32:54 -05:00
committed by GitHub
parent 21d5716f4c
commit f9c43567ea

View File

@@ -66,7 +66,7 @@ namespace Content.Client.HealthAnalyzer.UI
);
Temperature.Text = Loc.GetString("health-analyzer-window-entity-temperature-text",
("temperature", float.IsNaN(msg.Temperature) ? "N/A" : $"{msg.Temperature - 273f:F1} °C")
("temperature", float.IsNaN(msg.Temperature) ? "N/A" : $"{msg.Temperature - 273f:F1} °C ({msg.Temperature:F1} °K)")
);
BloodLevel.Text = Loc.GetString("health-analyzer-window-entity-blood-level-text",