[MIRROR] Fixes COMSIG_ATOM_ATTACK_HAND not being called in some instances (#7369)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: BlackMajor <henrydyer6@hotmail.com>
This commit is contained in:
CHOMPStation2
2023-12-08 16:45:56 -07:00
committed by GitHub
parent fc21a4d0c3
commit 75680c3eee
+3 -2
View File
@@ -226,11 +226,12 @@
/obj/item/attack_hand(mob/living/user as mob)
if (!user) return
..()
if(anchored) // Start CHOMPStation Edit
if(hascall(src, "attack_self"))
return src.attack_self(user)
else
to_chat ("This is anchored and you can't lift it.")
to_chat (user, "This is anchored and you can't lift it.")
return // End CHOMPStation Edit
if (hasorgans(user))
var/mob/living/carbon/human/H = user
@@ -1024,4 +1025,4 @@ Note: This proc can be overwritten to allow for different types of auto-alignmen
return
/obj/item/proc/get_welder()
return
return