Skip to content

Commit

Permalink
Tentative Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fira committed Oct 29, 2023
1 parent 1fffb32 commit 2459488
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions code/modules/mob/living/carbon/human/species/species.dm
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,13 @@
return

/datum/species/proc/create_organs(mob/living/carbon/human/H) //Handles creation of mob organs and limbs.
for(var/L in H.limbs) //In case of pre-existing limbs/organs, we remove the old ones.
qdel(L)
H.internal_organs = list()
H.internal_organs_by_name = list()
//In case of pre-existing limbs/organs, we remove the old ones.
QDEL_LIST(H.limbs)
H.limbs.Cut()

QDEL_LIST(H.internal_organs)
H.internal_organs.Cut()
H.internal_organs_by_name.Cut()

//This is a basic humanoid limb setup.
var/obj/limb/chest/C = new(H, null, H)
Expand Down

0 comments on commit 2459488

Please sign in to comment.