Moved 'no_wrap' to object

This commit is contained in:
SabreML
2020-08-28 12:52:39 +01:00
parent 0ff9a51ba4
commit 2cc57af65e
+1 -1
View File
@@ -161,9 +161,9 @@
amount = 25
max_amount = 25
resistance_flags = FLAMMABLE
var/static/list/no_wrap = list(/obj/item/smallDelivery, /obj/structure/bigDelivery, /obj/item/evidencebag, /obj/structure/closet/body_bag, /obj/item/twohanded/required)
/obj/item/stack/packageWrap/afterattack(var/obj/target as obj, mob/user as mob, proximity)
var/static/list/no_wrap = list(/obj/item/smallDelivery, /obj/structure/bigDelivery, /obj/item/evidencebag, /obj/structure/closet/body_bag, /obj/item/twohanded/required)
if(!proximity) return
if(!istype(target)) //this really shouldn't be necessary (but it is). -Pete
return