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.
This commit is contained in:
Walter0o
2014-07-31 09:34:58 +02:00
parent 61a1904e78
commit a8baa2c855

View File

@@ -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
@@ -278,4 +279,4 @@
// Atlantis: Required for camnetkeys to work.
/datum/file/program/security/hidden
hidden_file = 1
hidden_file = 1