]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Health analyzers and cryopods also show temperature in Kelvin (#24643)
authorKrunklehorn <42424291+Krunklehorn@users.noreply.github.com>
Mon, 29 Jan 2024 01:32:54 +0000 (20:32 -0500)
committerGitHub <noreply@github.com>
Mon, 29 Jan 2024 01:32:54 +0000 (20:32 -0500)
Health analyzers and cryopods also show temperature in kelvin

Content.Client/HealthAnalyzer/UI/HealthAnalyzerWindow.xaml.cs

index 36f7a08b9612c4ddbabfb15e7adb341c42f23b27..9e786ce4365055c8f8e469999887344e87c9a382 100644 (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",