Clicking floor tiles closes airlocks (#58124)

This commit is contained in:
norill
2021-04-15 22:07:35 +00:00
committed by GitHub
parent 63819548ce
commit 4783c173f8
3 changed files with 19 additions and 1 deletions

View File

@@ -53,7 +53,7 @@
. = FALSE
if(!(interaction_flags_atom & INTERACT_ATOM_NO_FINGERPRINT_ATTACK_HAND))
add_fingerprint(user)
if(SEND_SIGNAL(src, COMSIG_ATOM_ATTACK_HAND, user) & COMPONENT_CANCEL_ATTACK_CHAIN)
if(SEND_SIGNAL(src, COMSIG_ATOM_ATTACK_HAND, user, modifiers) & COMPONENT_CANCEL_ATTACK_CHAIN)
. = TRUE
if(interaction_flags_atom & INTERACT_ATOM_ATTACK_HAND)
. = _try_interact(user)