Made labels able to be stuck on containers (issue #430)

This commit is contained in:
Miniature
2012-02-18 05:39:30 +10:30
parent c612f91430
commit 44e4c6a332

View File

@@ -69,8 +69,6 @@
/obj/item/weapon/label/afterattack(atom/A, mob/user as mob) /obj/item/weapon/label/afterattack(atom/A, mob/user as mob)
if(!backing) if(!backing)
if(A==loc) // if placing the label into something (e.g. backpack)
return // don't stick it on
if(!label || !length(label)) if(!label || !length(label))
user << "\red This label doesn't have any text! How did this happen?!?" user << "\red This label doesn't have any text! How did this happen?!?"
return return