Health analyzers and cryopods also show temperature in Kelvin (#24643)
Health analyzers and cryopods also show temperature in kelvin (cherry picked from commit f9c43567ea013fa5d68f21a9c83194583f10e1e3)
This commit is contained in:
parent
37a985b15d
commit
9b50c87557
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue