From 8f126665044e7f352a66fc0a9d6aeeb850407637 Mon Sep 17 00:00:00 2001 From: Lucy Date: Wed, 21 Aug 2024 11:07:27 -0400 Subject: [PATCH] Clicking floor tiles now also closes curator/morgue doors (#85994) ## About The Pull Request This makes it so the "morgue doors" (more often seen on the curator's study or chaplain confession booth, tbh) also have `/datum/component/redirect_attack_hand_from_turf`. ## Why It's Good For The Game Consistency, and just nice to have. ## Changelog :cl: qol: Clicking floor tiles now also closes curator/morgue doors, like with normal airlocks. /:cl: --- code/game/machinery/doors/door.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/machinery/doors/door.dm b/code/game/machinery/doors/door.dm index 66cfbe8543e47..743bfd51ca9a9 100644 --- a/code/game/machinery/doors/door.dm +++ b/code/game/machinery/doors/door.dm @@ -623,6 +623,10 @@ icon = 'icons/obj/doors/doormorgue.dmi' icon_state = "closed" +/obj/machinery/door/morgue/Initialize(mapload) + . = ..() + AddComponent(/datum/component/redirect_attack_hand_from_turf) + /obj/machinery/door/morgue/update_icon_state() . = ..() if(animation && animation != "deny")