From 37ec30d75f561f6bd6ea4136e419c8e951ea12eb Mon Sep 17 00:00:00 2001 From: Tastyfish Date: Mon, 14 Dec 2015 01:43:00 -0500 Subject: [PATCH] made video camera find telescreens via machines rather than world --- code/modules/paperwork/photography.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/paperwork/photography.dm b/code/modules/paperwork/photography.dm index a97dc708b75..133018743cc 100644 --- a/code/modules/paperwork/photography.dm +++ b/code/modules/paperwork/photography.dm @@ -526,13 +526,13 @@ var/list/SpookyGhosts = list("ghost","shade","shade2","ghost-narsie","horror","s if (camera && on) if(get_dist(src, M) <= canhear_range) talk_into(M, msg) - for(var/obj/machinery/computer/security/telescreen/T in world) + for(var/obj/machinery/computer/security/telescreen/T in machines) if(T.current == camera) T.audible_message("(Newscaster) [M] says, '[msg]'", hearing_distance = 2) /obj/item/device/videocam/hear_message(mob/M as mob, msg) if (camera && on) - for(var/obj/machinery/computer/security/telescreen/T in world) + for(var/obj/machinery/computer/security/telescreen/T in machines) if(T.current == camera) T.audible_message("(Newscaster) [M] [msg]", hearing_distance = 2)