mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-13 01:03:15 +01:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user