mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 15:01:04 +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:
co-authored by
Ben10083
Matt Atlas
parent
30214f671f
commit
b9d1343ade
@@ -36,7 +36,7 @@
|
||||
to_chat(user, SPAN_NOTICE("You unlock \the [src]!"))
|
||||
return
|
||||
else
|
||||
to_chat(user, SPAN_WARNING("Access Denied"))
|
||||
to_chat(user, SPAN_WARNING("Access denied"))
|
||||
else if(istype(attacking_item, /obj/item/melee/energy/blade))
|
||||
if(emag_act(INFINITY, user, attacking_item, "The locker has been sliced open by [user] with an energy blade!", "You hear metal being sliced and sparks flying."))
|
||||
var/obj/item/melee/energy/blade/blade = attacking_item
|
||||
|
||||
Reference in New Issue
Block a user