mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 16:44:33 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user