From 4fe1083bfb5fc5b08ab89acce0c4cbcf9200828c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Aguilera=20Puerto?= Date: Sun, 9 Aug 2020 15:21:23 +0200 Subject: [PATCH] Fix gas analyzer returning pressure instead of temperature. --- .../GameObjects/Components/Atmos/GasAnalyzerMenu.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Client/GameObjects/Components/Atmos/GasAnalyzerMenu.cs b/Content.Client/GameObjects/Components/Atmos/GasAnalyzerMenu.cs index 35e6997381..1e06c0a9fe 100644 --- a/Content.Client/GameObjects/Components/Atmos/GasAnalyzerMenu.cs +++ b/Content.Client/GameObjects/Components/Atmos/GasAnalyzerMenu.cs @@ -178,14 +178,14 @@ namespace Content.Client.GameObjects.Components.Atmos }); return; } - + _statusContainer.AddChild(new Label { Text = Loc.GetString("Pressure: {0:0.##} kPa", state.Pressure) }); _statusContainer.AddChild(new Label { - Text = Loc.GetString("Temperature: {0:0.#}K ({1:0.#}°C)", state.Pressure, TemperatureHelpers.KelvinToCelsius(state.Pressure)) + Text = Loc.GetString("Temperature: {0:0.#}K ({1:0.#}°C)", state.Temperature, TemperatureHelpers.KelvinToCelsius(state.Temperature)) }); // Return here cause all that stuff down there is gas stuff (so we don't get the seperators) if (state.Gases.Length == 0)