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:
Ben
2025-08-15 13:59:04 +00:00
committed by GitHub
co-authored by Ben10083 Matt Atlas
parent 30214f671f
commit b9d1343ade
18 changed files with 110 additions and 22 deletions
@@ -77,6 +77,8 @@
var/obj/machinery/airlock_sensor/sensor = thing
if(istype(sensor))
sensor.req_access = req_access
sensor.req_one_access = req_one_access
sensor.set_frequency(frequency)
sensor.master_tag = MARKER_AIRLOCK_TAG_MASTER
if(is_interior)
@@ -80,6 +80,8 @@
var/obj/machinery/airlock_sensor/sensor = thing
if(istype(sensor))
sensor.req_access = req_access
sensor.req_one_access = req_one_access
sensor.set_frequency(frequency)
sensor.master_tag = MARKER_AIRLOCK_TAG_MASTER
if(is_interior)