Merge pull request #4703 from VOREStation/aro-telecheck

Adds generic can_telecomm() proc, applies to Communicators
This commit is contained in:
Anewbe
2018-02-03 22:46:16 -06:00
committed by GitHub
2 changed files with 51 additions and 2 deletions

View File

@@ -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()