Fixes analyzers not detecting non-hardcoded gases in pipes (#25976)

This commit is contained in:
4dplanner
2017-04-08 19:19:52 -03:00
committed by Leo
parent 7ee46f5451
commit d8935d755a
+1 -1
View File
@@ -845,7 +845,7 @@ GLOBAL_LIST_INIT(WALLITEMS_INVERSE, typecacheof(list(
for(var/id in cached_gases)
var/gas_concentration = cached_gases[id][MOLES]/total_moles
if(id in GLOB.hardcoded_gases || gas_concentration > 0.001) //ensures the four primary gases are always shown.
if((id in GLOB.hardcoded_gases) || gas_concentration > 0.001) //ensures the four primary gases are always shown.
to_chat(user, "<span class='notice'>[cached_gases[id][GAS_META][META_GAS_NAME]]: [round(gas_concentration*100, 0.01)] %</span>")
to_chat(user, "<span class='notice'>Temperature: [round(air_contents.temperature-T0C)] &deg;C</span>")