From 868759c93c7d8621ab8f5c3464a5eaaba5729958 Mon Sep 17 00:00:00 2001 From: Walter0o Date: Thu, 31 Jul 2014 09:34:58 +0200 Subject: [PATCH] computer3 remote view exploit fix you could look at any atom for a tick. could need improvement, does not check camera network at the moment, because of the costly and temporary nature of the getter proc. --- code/WorkInProgress/computer3/computers/camera.dm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/code/WorkInProgress/computer3/computers/camera.dm b/code/WorkInProgress/computer3/computers/camera.dm index 5124926d7e7..0a953e40a62 100644 --- a/code/WorkInProgress/computer3/computers/camera.dm +++ b/code/WorkInProgress/computer3/computers/camera.dm @@ -258,10 +258,11 @@ if("show" in href_list) var/obj/machinery/camera/C = locate(href_list["show"]) - current = C - usr.reset_view(C) - interact() - return + if(istype(C) && C.status) + current = C + usr.reset_view(C) + interact() + return if("keyselect" in href_list) current = null