Trace Chems Runtime Fix (#12282)

* Trace Chems Runtime Fix

* more robust solution
This commit is contained in:
Geeves
2021-08-01 15:22:53 -03:00
committed by GitHub
parent 91878c6027
commit 334808a4fc
2 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -696,7 +696,7 @@
// TODO: stomach and bloodstream organ.
if(!isSynthetic())
handle_trace_chems()
if(!(species.flags & NO_BLOOD))
if(vessel && (/decl/reagent/blood in vessel.reagent_data))
// update the trace chems in our blood vessels
var/decl/reagent/blood/B = decls_repository.get_decl(/decl/reagent/blood)
B.handle_trace_chems(vessel)