Merge pull request #2934 from Citadel-Station-13/upstream-merge-30913
[MIRROR] Stops AIs from giving the borg a free secondary light
This commit is contained in:
@@ -740,7 +740,7 @@
|
||||
var/list/obj/machinery/camera/visible = list()
|
||||
for (var/datum/camerachunk/CC in eyeobj.visibleCameraChunks)
|
||||
for (var/obj/machinery/camera/C in CC.cameras)
|
||||
if (!C.can_use() || get_dist(C, eyeobj) > 7)
|
||||
if (!C.can_use() || get_dist(C, eyeobj) > 7 || !C.internal_light)
|
||||
continue
|
||||
visible |= C
|
||||
|
||||
|
||||
@@ -129,6 +129,7 @@
|
||||
builtInCamera = new (src)
|
||||
builtInCamera.c_tag = real_name
|
||||
builtInCamera.network = list("SS13")
|
||||
builtInCamera.internal_light = FALSE
|
||||
if(wires.is_cut(WIRE_CAMERA))
|
||||
builtInCamera.status = 0
|
||||
module = new /obj/item/robot_module(src)
|
||||
|
||||
Reference in New Issue
Block a user