From 31e7e5fb0a259e5e0ffa5bb9176c43507aaa40c0 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Mon, 15 May 2023 06:17:29 +0100 Subject: [PATCH] [MIRROR] Fix SHOULD_NOT_SLEEP hit in simple_animal/hostile's resolve_unarmed_attack [MDB IGNORE] (#21164) * Fix SHOULD_NOT_SLEEP hit in simple_animal/hostile's resolve_unarmed_attack (#75416) Multiple paths fixed. See #75232 ![image](https://github.com/tgstation/tgstation/assets/8171642/cd7b2b16-b462-442c-a6af-91c53c69fef4) * Fix SHOULD_NOT_SLEEP hit in simple_animal/hostile's resolve_unarmed_attack --------- Co-authored-by: Jordan Dominion --- code/_onclick/other_mobs.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/_onclick/other_mobs.dm b/code/_onclick/other_mobs.dm index b8f71595308..1868057d82c 100644 --- a/code/_onclick/other_mobs.dm +++ b/code/_onclick/other_mobs.dm @@ -314,7 +314,7 @@ if(dextrous && (isitem(attack_target) || !combat_mode)) return ..() else - AttackingTarget(attack_target) + INVOKE_ASYNC(src, PROC_REF(AttackingTarget), attack_target) #undef LIVING_UNARMED_ATTACK_BLOCKED