Skip to content

Commit

Permalink
Clicking floor tiles now also closes curator/morgue doors (tgstation#…
Browse files Browse the repository at this point in the history
…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:
  • Loading branch information
Absolucy authored Aug 21, 2024
1 parent c41b6b9 commit 8f12666
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/game/machinery/doors/door.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 8f12666

Please sign in to comment.