From: Krunklehorn <42424291+Krunklehorn@users.noreply.github.com> Date: Mon, 29 Jan 2024 01:32:54 +0000 (-0500) Subject: Health analyzers and cryopods also show temperature in Kelvin (#24643) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=f9c43567ea013fa5d68f21a9c83194583f10e1e3;p=space-station-14.git Health analyzers and cryopods also show temperature in Kelvin (#24643) Health analyzers and cryopods also show temperature in kelvin --- diff --git a/Content.Client/HealthAnalyzer/UI/HealthAnalyzerWindow.xaml.cs b/Content.Client/HealthAnalyzer/UI/HealthAnalyzerWindow.xaml.cs index 36f7a08b96..9e786ce436 100644 --- a/Content.Client/HealthAnalyzer/UI/HealthAnalyzerWindow.xaml.cs +++ b/Content.Client/HealthAnalyzer/UI/HealthAnalyzerWindow.xaml.cs @@ -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",