Adds using a door remote on a door's tile (#58943)

This commit is contained in:
norill
2021-05-08 22:57:53 -07:00
committed by GitHub
parent d6e7bc0e07
commit cdcc6a74e0
+6
View File
@@ -53,6 +53,12 @@
. = ..()
var/datum/component/ntnet_interface/target_interface = A.GetComponent(/datum/component/ntnet_interface)
// Try to find an airlock in the clicked turf
if(!target_interface)
var/obj/machinery/door/airlock/door = locate() in get_turf(A)
if(door)
target_interface = door.GetComponent(/datum/component/ntnet_interface)
if(!target_interface)
return