mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 03:55:11 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user