Fixes nullspace clothes with accessories being deleted causing runtimes

This commit is contained in:
Heroman
2019-05-03 10:48:42 +10:00
parent ad2c62fada
commit 896da86bf5
@@ -68,7 +68,7 @@
has_suit.overlays += get_inv_overlay()
if(user)
user << "<span class='notice'>You attach \the [src] to \the [has_suit].</span>"
to_chat(user, "<span class='notice'>You attach \the [src] to \the [has_suit].</span>")
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