Fixes brains being left in hands after being inserted into heads

This commit is contained in:
YPO
2018-01-25 22:51:25 -06:00
committed by KorPhaeron
parent 007b8b86f6
commit 84481fcd88
+1 -1
View File
@@ -126,7 +126,7 @@
//since these people will be dead M != usr
if(!C.getorgan(/obj/item/organ/brain))
if(!C.get_bodypart("head") || !C.temporarilyRemoveItemFromInventory(src))
if(!C.get_bodypart("head") || !user.temporarilyRemoveItemFromInventory(src))
return
var/msg = "[C] has [src] inserted into [C.p_their()] head by [user]."
if(C == user)