mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
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:
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user