mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 06:27:26 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user