Sleeping Carp and Cain & Abel no longer tell you about armor penetration when you reflect projectiles with them (#93275)

## About The Pull Request

Projectile refactor pulled armor check above the pre-hit comsig, this
fixes that. No need to check armor before you're hit when you
potentially will not be.

## Changelog
🆑
fix: Sleeping Carp and Cain & Abel no longer tell you about armor
penetration when you reflect projectiles with them
/🆑
This commit is contained in:
SmArtKar
2025-10-12 05:39:43 +02:00
committed by GitHub
parent b47de18bfb
commit 4d648d016c
19 changed files with 81 additions and 85 deletions
@@ -201,7 +201,7 @@
// "Stun" weapons can cause minor damage to components (short-circuits?)
// "Burn" damage is equally strong against internal components and exterior casing
// "Brute" damage mostly damages the casing.
/obj/machinery/modular_computer/bullet_act(obj/projectile/proj)
return cpu?.projectile_hit(proj) || ..()
/obj/machinery/modular_computer/projectile_hit(obj/projectile/hitting_projectile, def_zone, piercing_hit, blocked)
return cpu?.projectile_hit(hitting_projectile, def_zone, piercing_hit, blocked) || ..()
#undef CPU_INTERACTABLE