From ccac40732bc8434cd97ca443d2f49ef44b83daf9 Mon Sep 17 00:00:00 2001 From: GDN <96800819+GDNgit@users.noreply.github.com> Date: Sun, 26 Mar 2023 05:46:43 -0500 Subject: [PATCH] Fixes cooking machines making a runtime whenever they process a reagent without a normal reaction (#20697) --- code/modules/reagents/chemistry/reagents_holder.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/reagents/chemistry/reagents_holder.dm b/code/modules/reagents/chemistry/reagents_holder.dm index a87399e4dad..1661ce8de59 100644 --- a/code/modules/reagents/chemistry/reagents_holder.dm +++ b/code/modules/reagents/chemistry/reagents_holder.dm @@ -464,7 +464,7 @@ matching_container = TRUE else - if(my_atom.type == C.required_container) + if(my_atom && my_atom.type == C.required_container) matching_container = TRUE if(!C.required_other)