diff --git a/code/__HELPERS/reagents.dm b/code/__HELPERS/reagents.dm index 39431f90d9..f1208abdd3 100644 --- a/code/__HELPERS/reagents.dm +++ b/code/__HELPERS/reagents.dm @@ -62,8 +62,7 @@ if(!GLOB.chemical_reactions_list || !R) return for(var/rid in R.required_reagents) - var/datum/reagent/C = rid - GLOB.chemical_reactions_list[C.id] -= R + GLOB.chemical_reactions_list[rid] -= R //see build_chemical_reactions_list in holder.dm for explanations /proc/add_chemical_reaction(datum/chemical_reaction/R)