Fixes a whole bunch of bugs. (#7984)

This commit is contained in:
Matt Atlas
2020-01-12 11:37:05 +01:00
committed by GitHub
parent 204b1614e3
commit 06dbe222ad
8 changed files with 56 additions and 13 deletions
+1 -2
View File
@@ -281,8 +281,7 @@
user.visible_message("<span class='notice'>[user] has transplanted \the [tool] into [target]'s [affected.name].</span>", \
"<span class='notice'>You have transplanted \the [tool] into [target]'s [affected.name].</span>")
var/obj/item/organ/O = tool
if(istype(O))
user.remove_from_mob(O)
if(istype(O) && user.unEquip(O))
O.replaced(target,affected)
playsound(target.loc, 'sound/effects/squelch1.ogg', 50, 1)