Fix gas analyzer returning pressure instead of temperature.

This commit is contained in:
Víctor Aguilera Puerto
2020-08-09 15:21:23 +02:00
parent f924997c03
commit 4fe1083bfb

View File

@@ -185,7 +185,7 @@ namespace Content.Client.GameObjects.Components.Atmos
}); });
_statusContainer.AddChild(new Label _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) // Return here cause all that stuff down there is gas stuff (so we don't get the seperators)
if (state.Gases.Length == 0) if (state.Gases.Length == 0)