Fixes monkey being unable to access right click functions on many objects. (#60990) (#7753)

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-08-24 22:05:56 -04:00
committed by GitHub
co-authored by Ghom
parent fcbde0f67e
commit 81458fa463
+1 -4
View File
@@ -40,10 +40,7 @@
return
SEND_SIGNAL(src, COMSIG_HUMAN_MELEE_UNARMED_ATTACK, A, proximity_flag, modifiers)
if(dna?.species?.spec_unarmedattack(src, A, modifiers)) //Because species like monkeys dont use attack hand
return
if(!right_click_attack_chain(A, modifiers))
if(!right_click_attack_chain(A, modifiers) && !dna?.species?.spec_unarmedattack(src, A, modifiers)) //Because species like monkeys dont use attack hand
A.attack_hand(src, modifiers)