Merge pull request #4845 from Menshin/table_crafting_fix

Items table crafting fixing
This commit is contained in:
Cheridan
2014-09-17 13:53:13 -05:00
@@ -262,6 +262,7 @@
while(amt > 0)
I = locate(B) in loc
Deletion.Add(I)
I.loc = null //remove it from the table loc so that we don't locate the same item every time (will be relocated inside the crafted item in construct_item())
amt--
break item_loop
else
@@ -286,6 +287,7 @@
if(!istype(B, A))
Deletion.Remove(B)
qdel(B)
return Deletion
/obj/structure/table/interact(mob/user)