Merge branch 'master' into development

This commit is contained in:
skull132
2018-05-07 18:16:22 +03:00
3 changed files with 13 additions and 3 deletions
+4 -3
View File
@@ -123,9 +123,10 @@
var/turf/T = get_turf(input)
for(var/obj/item/O in T)
if(!O) return
if(istype(O, /obj/item/stack) && stack_storage[O.type] != null)
stack_storage[O.type]++
qdel(O)
var/obj/item/stack/S = O
if(istype(S) && stack_storage[S.type] != null)
stack_storage[S.type] += S.amount
qdel(S)
else
O.forceMove(output.loc)