Fixes chem gases being added twice

This commit is contained in:
Putnam3145
2021-12-22 01:27:53 -08:00
parent b83ec40766
commit 97051cad80
+1 -7
View File
@@ -282,13 +282,7 @@ GLOBAL_LIST_INIT(name2reagent, build_name2reagent())
var/datum/auxgm/cached_gas_data = GLOB.gas_data
. = "[src.type]"
if(!(. in cached_gas_data.ids))
var/datum/gas/G = create_gas()
if(istype(G))
cached_gas_data.add_gas(G)
else // this codepath should probably not happen at all, since we never use get_gas() on anything with no boiling point
return null
create_gas()
//For easy bloodsucker disgusting and blood removal