stops ducts from constantly runtiming on being placed down

credits to steamport for finding it, I completely and utterly forgot a pretty obvious mistake
This commit is contained in:
Time-Green
2019-10-20 09:35:58 +02:00
committed by GitHub
parent d386f46e6d
commit 66045b25d3
+1 -1
View File
@@ -66,7 +66,7 @@ All the important duct code:
for(var/atom/movable/AM in loc)
var/datum/component/plumbing/P = AM.GetComponent(/datum/component/plumbing)
if(P.active)
if(P?.active)
disconnect_duct() //let's not built under plumbing machinery
return
for(var/D in GLOB.cardinals)