mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 13:38:41 +01:00
13 lines
446 B
Plaintext
13 lines
446 B
Plaintext
/**
|
|
* Global timer proc used in defib.dm. Removes the temporary trauma caused by being defibbed as a synth.
|
|
*
|
|
* Args:
|
|
* * obj/item/organ/brain/synth_brain: The brain with the trauma on it. Non-nullable.
|
|
* * datum/brain_trauma/trauma: The trauma itself. Non-nullable.
|
|
*/
|
|
/proc/remove_synth_defib_trauma(obj/item/organ/brain/synth_brain, datum/brain_trauma/trauma)
|
|
if (QDELETED(synth_brain) || QDELETED(trauma))
|
|
return
|
|
|
|
QDEL_NULL(trauma)
|