Patching for a item file. Please, check this. Deny if it isn't needed. I tried to make it work.

This commit is contained in:
Hawk-v3
2012-02-03 10:54:25 +00:00
parent 5c46b1751b
commit e4905ae1af
+4 -1
View File
@@ -212,7 +212,10 @@
if(src in user)
user.remove_from_mob(src)
var/obj/item/weapon/packageWrap/O = W
if (O.amount > 1)
if(!istype(loc,/turf))
user << "\red You need to place the item on the ground before wrapping it!"
return
else if (O.amount > 1)
var/obj/item/smallDelivery/P = new /obj/item/smallDelivery(location)
P.wrapped = src
src.loc = P