Update code/modules/surgery/organs/organ_internal.dm

Co-Authored-By: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
Thalpy
2019-10-13 23:55:42 +01:00
committed by GitHub
parent 094221f4ae
commit 924fa50659
@@ -72,7 +72,7 @@
on_death() //Kinda hate doing it like this, but I really don't want to call process directly.
/obj/item/organ/proc/on_death() //runs decay when outside of a person
if(organ_flags & ORGAN_SYNTHETIC)
if(CHECK_MULTIPLE_BITFIELDS(organ_flags, ORGAN_SYNTHETIC|ORGAN_FROZEN|ORGAN_NO_SPOIL))
return
if(organ_flags & ORGAN_FROZEN)
return