mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user