mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-14 09:27:45 +01:00
Adds Missing Access Checks to Airlock Equipment (#21148)
Fixes https://github.com/Aurorastation/Aurora.3/issues/13378 Airlock controllers and Sensors now also check if the user has access --------- Signed-off-by: Ben <91219575+Ben10083@users.noreply.github.com> Co-authored-by: Ben10083 <Ben10083@users.noreply.github.com> Co-authored-by: Matt Atlas <mattiathebest2000@hotmail.it>
This commit is contained in:
@@ -125,7 +125,7 @@
|
||||
if(can_access_network(usr, get_camera_access(params["switch_network"])))
|
||||
current_network = params["switch_network"]
|
||||
else
|
||||
to_chat(usr, SPAN_WARNING("\The [ui_host()] shows an \"Network Access Denied\" error message."))
|
||||
to_chat(usr, SPAN_WARNING("\The [ui_host()] shows an \"Network access denied\" error message."))
|
||||
return TRUE
|
||||
|
||||
if("reset")
|
||||
|
||||
Reference in New Issue
Block a user