mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 04:51:32 +01:00
Fixes organ processing not happening if there is pain but no actual damage. (#13879)
This commit is contained in:
@@ -573,9 +573,13 @@ This function completely restores a damaged organ to perfect condition.
|
||||
|
||||
//Determines if we even need to process this organ.
|
||||
/obj/item/organ/external/proc/need_process()
|
||||
if(status & (ORGAN_CUT_AWAY|ORGAN_BLEEDING|ORGAN_BROKEN|ORGAN_DESTROYED|ORGAN_SPLINTED|ORGAN_DEAD|ORGAN_MUTATED))
|
||||
if((status & ORGAN_ASSISTED) && surge_damage)
|
||||
return TRUE
|
||||
if(surge_damage)
|
||||
if(BP_IS_ROBOTIC(src))
|
||||
return FALSE
|
||||
if(get_pain())
|
||||
return TRUE
|
||||
if(status & (ORGAN_CUT_AWAY|ORGAN_BLEEDING|ORGAN_BROKEN|ORGAN_DESTROYED|ORGAN_SPLINTED|ORGAN_DEAD|ORGAN_MUTATED))
|
||||
return TRUE
|
||||
if(brute_dam || burn_dam)
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user