mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-15 09:03:23 +01:00
Fix for Issue 245 by Quarxink
http://code.google.com/p/tgstation13/issues/detail?id=245#c0 git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2704 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -65,7 +65,10 @@
|
||||
|
||||
if (istype(target, /obj/item))
|
||||
var/obj/item/O = target
|
||||
if (src.amount > 1)
|
||||
if(!istype(loc,/turf))
|
||||
user << "\red You need to place the item on the ground before wrapping it!"
|
||||
return
|
||||
else if (src.amount > 1)
|
||||
var/obj/item/smallDelivery/P = new /obj/item/smallDelivery(get_turf(O.loc))
|
||||
P.wrapped = O
|
||||
O.loc = P
|
||||
|
||||
Reference in New Issue
Block a user