Circuits can't throw themselves

This commit is contained in:
Jonathan (JJRcop)
2018-04-27 23:51:06 -04:00
parent 85346cd5e4
commit 9f78ee3ed1
@@ -490,7 +490,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))