Fixes being able to punch yourself (#79033)

## About The Pull Request

Fixes #79031 

Fixes #79042

I forgot some logic here when making the human override. 
Not the cleanest way to do it but it'll suffice. 

## Changelog

🆑 Melbert
fix: You can punch yourself again
/🆑
This commit is contained in:
MrMelbert
2023-10-17 13:02:07 -06:00
committed by GitHub
parent 9bb75adc5c
commit dcedf89c70
6 changed files with 48 additions and 10 deletions
+1 -1
View File
@@ -39,7 +39,7 @@
if(!source.combat_mode || !proximity || LAZYACCESS(modifiers, RIGHT_CLICK))
return NONE
if(!source.can_unarmed_attack())
return COMPONENT_CANCEL_ATTACK_CHAIN
return COMPONENT_SKIP_ATTACK
if(!target.attack_hulk(owner))
return NONE