Fixes cloth from cutting bedsheets ending up INSIDE THE USER (#20286)

This commit is contained in:
Remie Richards
2016-09-02 18:40:16 +01:00
committed by KorPhaeron
parent 228a6b8a71
commit aa7ae7dc38

View File

@@ -38,7 +38,7 @@ LINEN BINS
/obj/item/weapon/bedsheet/attackby(obj/item/I, mob/user, params) /obj/item/weapon/bedsheet/attackby(obj/item/I, mob/user, params)
if(istype(I, /obj/item/weapon/wirecutters) || I.is_sharp()) if(istype(I, /obj/item/weapon/wirecutters) || I.is_sharp())
var/obj/item/stack/sheet/cloth/C = new (loc, 3) var/obj/item/stack/sheet/cloth/C = new (get_turf(src), 3)
transfer_fingerprints_to(C) transfer_fingerprints_to(C)
C.add_fingerprint(user) C.add_fingerprint(user)
qdel(src) qdel(src)