mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 22:42:26 +01:00
Fixes a whole bunch of bugs. (#7984)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user