Merge pull request #5546 from monster860/holy_fuck_more_href_exploits_gotta_fix_them_all

Fix href exploit with camera console.
This commit is contained in:
Fox McCloud
2016-08-25 22:52:56 -04:00
committed by GitHub
+4 -1
View File
@@ -138,7 +138,10 @@
var/obj/machinery/camera/C = locate(href_list["switchTo"]) in cameranet.cameras
if(!C)
return 1
if(!can_access_camera(C))
return 1 // No href exploits for you.
switch_to_camera(usr, C)
else if(href_list["reset"])