Zombie/limb refactors/fixes

This commit is contained in:
CitadelStationBot
2017-04-28 21:05:06 -05:00
parent a39b40d879
commit daeba2eec7
10 changed files with 76 additions and 38 deletions
@@ -254,6 +254,8 @@
if(held_index > C.hand_bodyparts.len)
C.hand_bodyparts.len = held_index
C.hand_bodyparts[held_index] = src
if(C.dna.species.mutanthands && !is_pseudopart)
C.put_in_hand(new C.dna.species.mutanthands(), held_index)
if(C.hud_used)
var/obj/screen/inventory/hand/hand = C.hud_used.hand_slots["[held_index]"]
if(hand)
@@ -269,6 +271,9 @@
qdel(S)
break
for(var/obj/item/organ/O in contents)
O.Insert(C)
update_bodypart_damage_state()
C.updatehealth()