From 896da86bf554b95eb0d4e9c2ff1c044b0f4453de Mon Sep 17 00:00:00 2001 From: Heroman Date: Fri, 3 May 2019 10:48:42 +1000 Subject: [PATCH] Fixes nullspace clothes with accessories being deleted causing runtimes --- code/modules/clothing/under/accessories/accessory.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/clothing/under/accessories/accessory.dm b/code/modules/clothing/under/accessories/accessory.dm index 3e01478371..881df8d7cc 100644 --- a/code/modules/clothing/under/accessories/accessory.dm +++ b/code/modules/clothing/under/accessories/accessory.dm @@ -68,7 +68,7 @@ has_suit.overlays += get_inv_overlay() if(user) - user << "You attach \the [src] to \the [has_suit]." + to_chat(user, "You attach \the [src] to \the [has_suit].") add_fingerprint(user) /obj/item/clothing/accessory/proc/on_removed(var/mob/user) @@ -79,7 +79,7 @@ if(user) usr.put_in_hands(src) add_fingerprint(user) - else + else if(get_turf(src)) //We actually exist in space forceMove(get_turf(src)) //default attackby behaviour