Merge pull request #6529 from Citadel-Station-13/upstream-merge-37441

[MIRROR] Analyzers show temperature in Kelvin as well as Celsius now
This commit is contained in:
deathride58
2018-04-27 09:41:46 +00:00
committed by GitHub
+1 -1
View File
@@ -415,7 +415,7 @@ GAS ANALYZER
continue
var/gas_concentration = env_gases[id][MOLES]/total_moles
to_chat(user, "<span class='alert'>[env_gases[id][GAS_META][META_GAS_NAME]]: [round(gas_concentration*100, 0.01)] %</span>")
to_chat(user, "<span class='info'>Temperature: [round(environment.temperature-T0C)] &deg;C</span>")
to_chat(user, "<span class='info'>Temperature: [round(environment.temperature-T0C)] &deg;C ([round(environment.temperature)]K)</span>")
/obj/item/device/analyzer/AltClick(mob/user) //Barometer output for measuring when the next storm happens
..()