Merge pull request #37510 from JJRcop/throw_myself

Circuits can't throw themselves
This commit is contained in:
Jordan Brown
2018-04-30 14:05:01 -04:00
committed by CitadelStationBot
parent 7205a15ef7
commit 9c9b2feefc
@@ -491,7 +491,7 @@
var/target_y_rel = round(get_pin_data(IC_INPUT, 2))
var/obj/item/A = get_pin_data_as_type(IC_INPUT, 3, /obj/item)
if(!A || A.anchored || A.throwing)
if(!A || A.anchored || A.throwing || A == assembly)
return
if(max_w_class && (A.w_class > max_w_class))