diff --git a/code/_onclick/other_mobs.dm b/code/_onclick/other_mobs.dm index 974025dbc1b..1b294b38ae8 100644 --- a/code/_onclick/other_mobs.dm +++ b/code/_onclick/other_mobs.dm @@ -45,6 +45,11 @@ */ /mob/living/UnarmedAttack(var/atom/A) A.attack_animal(src) + +/mob/living/simple_animal/hostile/UnarmedAttack(var/atom/A) + target = A + AttackingTarget() + /atom/proc/attack_animal(mob/user as mob) return /mob/living/RestrainedClickOn(var/atom/A) diff --git a/code/modules/mob/living/simple_animal/hostile/hostile.dm b/code/modules/mob/living/simple_animal/hostile/hostile.dm index c5561a2f928..f7c58876fe6 100644 --- a/code/modules/mob/living/simple_animal/hostile/hostile.dm +++ b/code/modules/mob/living/simple_animal/hostile/hostile.dm @@ -220,6 +220,7 @@ return 1 /mob/living/simple_animal/hostile/proc/AttackingTarget() + world << "[target]" target.attack_animal(src) /mob/living/simple_animal/hostile/proc/Aggro()