AI Detector can now only detect AI, not Abductors, Xenobio consoles or Shuttles (#15535)

* Update navigation_computer.dm

* V7

* Update navigation_computer.dm

* All instances

* Added explainers

Seems this is done some places, seems nice and easier to understand with em

* Updated name

* Change Variable name

Changed as per advise of Fox
This commit is contained in:
Kepplerx
2021-07-08 23:18:15 +01:00
committed by GitHub
parent e835205f50
commit 1d04a9ec74
6 changed files with 12 additions and 0 deletions
@@ -83,6 +83,9 @@
if(chunk)
if(chunk.seenby.len)
for(var/mob/camera/aiEye/A in chunk.seenby)
//Checks if the A is to be detected or not
if(!A.ai_detector_visible)
continue
var/turf/detect_turf = get_turf(A)
if(get_dist(our_turf, detect_turf) < rangealert)
detect_state = PROXIMITY_ON_SCREEN