mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 22:19:30 +01:00
Adds using a door remote on a door's tile (#58943)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user