Fixes brains being left in hands after being inserted into heads

This commit is contained in:
YPO
2018-01-24 14:07:56 -07:00
committed by CitadelStationBot
parent 0c86312618
commit f51fcc835f
+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)