Fixes detached organ process() runtime

This may cause certain organs that wouldn't previously take damage over
time to now do so.
This commit is contained in:
Krausus
2015-05-16 06:23:48 -04:00
parent 67323c8309
commit bfa93d5cd9
+5 -4
View File
@@ -77,10 +77,11 @@ var/list/organ_cache = list()
owner = null
if(!owner)
var/datum/reagent/blood/B = locate(/datum/reagent/blood) in reagents.reagent_list
if(B && prob(40))
reagents.remove_reagent("blood",0.1)
blood_splatter(src,B,1)
if(reagents)
var/datum/reagent/blood/B = locate(/datum/reagent/blood) in reagents.reagent_list
if(B && prob(40))
reagents.remove_reagent("blood",0.1)
blood_splatter(src,B,1)
if(prob(5)) //How about we not have organs become completely useless less than a minute after removal?
damage += 1