computer3 ntos topic exploit prevention

This commit is contained in:
Walter0o
2014-07-31 09:48:17 +02:00
parent 0aadca2fab
commit 06ca10df6b

View File

@@ -210,6 +210,9 @@
if("viewperipheral" in href_list) // open drive, show status of peripheral
var/obj/item/part/computer/C = locate(href_list["viewperipheral"])
if(!istype(C) || (C.loc != src.computer))
return
if(istype(C,/obj/item/part/computer/storage))
current = C
interact()