Hooking someone on a meat spike is now logged (#21857)

* Hooking someone on a meat spike is now logged

* Could use this? idk

* Checking for client

* mind is better

* Update code/game/objects/structures/kitchen_spike.dm

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>

---------

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
This commit is contained in:
Henri215
2023-07-29 17:09:19 -05:00
committed by GitHub
co-authored by SteelSlayer
parent 19c2d9c3e3
commit 32132e4274
@@ -129,6 +129,8 @@
victim.set_lying_angle(180)
victim.update_transform()
victim.pixel_y = victim.get_standard_pixel_y_offset(180)
if(victim.mind)
add_attack_logs(user, victim, "Hooked onto [src]")
return TRUE
/obj/structure/kitchenspike/user_unbuckle_mob(mob/living/buckled_mob, mob/living/carbon/human/user)