Stops AIs from giving the borg a free secondary light (#30913)
* Stops AIs from giving the borg a free secondary light * Using a camera var now * Wrong if * My brain is not working
This commit is contained in:
committed by
CitadelStationBot
parent
5b05af9036
commit
31f6898a87
@@ -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