Adds generic can_telecomm proc

This commit is contained in:
Arokha Sieyes
2018-02-02 17:59:04 -05:00
parent a493a379fe
commit 3c5e6d620a
2 changed files with 51 additions and 2 deletions
@@ -173,8 +173,8 @@ var/global/list/obj/item/device/communicator/all_communicators = list()
// Parameters: None
// Description: Simple check to see if the exonet node is active.
/obj/item/device/communicator/proc/get_connection_to_tcomms()
if(node && node.on && node.allow_external_communicators && !is_jammed(src))
return 1
if(node && node.on && node.allow_external_communicators)
return can_telecomm(src,node)
return 0
// Proc: process()