Merge pull request #13644 from DeltaFire15/hybrid-limbs-wound-stuff

[READY] Hybrid bodyparts - wound surgery edition
This commit is contained in:
silicons
2020-11-17 01:09:47 -07:00
committed by GitHub
13 changed files with 32 additions and 10 deletions
-2
View File
@@ -91,8 +91,6 @@
var/wound_flags = (FLESH_WOUND | BONE_WOUND | ACCEPTS_GAUZE)
/datum/wound/Destroy()
if(attached_surgery)
QDEL_NULL(attached_surgery)
if(limb?.wounds && (src in limb.wounds)) // destroy can call remove_wound() and remove_wound() calls qdel, so we check to make sure there's anything to remove first
remove_wound()
limb = null