fixing atmos analyzer (#40150)

Didn't check tanks etc. that were in backpack, other hand, or for new PRs, in the same circuit
This commit is contained in:
Shdorsh
2018-09-14 04:26:50 +02:00
committed by ShizCalev
parent 5234e0b3bb
commit d64a517203
@@ -1150,10 +1150,9 @@
for(var/i=1 to 6)
set_pin_data(IC_OUTPUT, i, null)
var/atom/target = get_pin_data_as_type(IC_INPUT, 1, /atom)
var/atom/movable/acting_object = get_object()
if(!target)
target = acting_object.loc
if(!target.Adjacent(acting_object))
target = get_turf(src)
if( get_dist(get_turf(target),get_turf(src)) > 1 )
activate_pin(3)
return