Fixes clones runtiming the scanner (#31578)

* Fixes clones runtiming the scanner

* Contra review

* a

Merge bypass authorized by me (Burzah) for testing purposes.
This commit is contained in:
DGamerL
2026-02-04 22:48:30 -07:00
committed by GitHub
parent f22dab4e42
commit 5e7d6338ed
2 changed files with 12 additions and 4 deletions
@@ -805,16 +805,19 @@ Note that amputating the affected organ does in fact remove the infection from t
owner.emote("scream")
status |= ORGAN_BROKEN
create_fracture_wound(fracture_name_override)
// Fractures have a chance of getting you out of restraints
if(prob(25))
release_restraints()
/obj/item/organ/external/proc/create_fracture_wound(fracture_name_override)
var/picked_type = pick(typesof(/datum/wound/fracture))
var/datum/wound/fracture = new picked_type(src)
if(fracture_name_override)
fracture.name = fracture_name_override
wound_list += fracture
// Fractures have a chance of getting you out of restraints
if(prob(25))
release_restraints()
/obj/item/organ/external/proc/mend_fracture()
if(is_robotic())
return FALSE // ORGAN_BROKEN doesn't have the same meaning for robot limbs