From 6c816641497d8b26679a09ac6b0e728d0d19dcac Mon Sep 17 00:00:00 2001 From: harryob <55142896+harryob@users.noreply.github.com> Date: Tue, 29 Aug 2023 09:36:45 +0100 Subject: [PATCH] adds the area back --- code/game/machinery/doors/alarmlock.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/machinery/doors/alarmlock.dm b/code/game/machinery/doors/alarmlock.dm index a69a92906a38..78fc05d8e0d0 100644 --- a/code/game/machinery/doors/alarmlock.dm +++ b/code/game/machinery/doors/alarmlock.dm @@ -32,6 +32,8 @@ var/alarm_area = signal.data["zone"] var/alert = signal.data["alert"] + var/area/our_area = get_area(src) + if(alarm_area == our_area.name) switch(alert) if("severe")