fugged it

This commit is contained in:
Crnibombarder
2015-08-25 08:00:57 +00:00
parent bf8fb0600d
commit a18c97ec2f

View File

@@ -10,10 +10,10 @@
/datum/storeitem/proc/deliver(var/mob/usr)
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/storeitem/proc/deliver() called tick#: [world.time]")
if(!istype(typepath,/obj/item/weapon/storage))
if(istype(typepath,/obj/machinery))
var/thing = new typepath(usr.loc)
usr.put_in_hands(thing)
else
if(istype(typepath,/obj/machinery))
var/thing = new typepath(usr.loc)
usr.put_in_hands(thing)
else
var/obj/item/weapon/storage/box/box=new(usr.loc)
new typepath(box)
box.name="[name] package"