From d8935d755a48008dbc2f7f805f2bc6325baeb47d Mon Sep 17 00:00:00 2001
From: 4dplanner <3combined@gmail.com>
Date: Sun, 9 Apr 2017 02:19:52 +0400
Subject: [PATCH] Fixes analyzers not detecting non-hardcoded gases in pipes
(#25976)
---
code/__HELPERS/unsorted.dm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/code/__HELPERS/unsorted.dm b/code/__HELPERS/unsorted.dm
index c0637cdaa42..e1c34dc0c9c 100644
--- a/code/__HELPERS/unsorted.dm
+++ b/code/__HELPERS/unsorted.dm
@@ -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, "[cached_gases[id][GAS_META][META_GAS_NAME]]: [round(gas_concentration*100, 0.01)] %")
to_chat(user, "Temperature: [round(air_contents.temperature-T0C)] °C")