mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 07:59:01 +01:00
Fixed melee weapons not applying their armour penetration. (#19539)
You don't want to know how long this was broken for. Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
|
||||
//Apply weapon damage
|
||||
var/damage_flags = I.damage_flags()
|
||||
apply_damage(effective_force, I.damtype, hit_zone, I, damage_flags, I.armor_penetration)
|
||||
apply_damage(effective_force, I.damtype, hit_zone, null, I, damage_flags, I.armor_penetration)
|
||||
|
||||
//Melee weapon embedded object code.
|
||||
if (I && I.damtype == DAMAGE_BRUTE && !I.anchored && !is_robot_module(I) && I.canremove)
|
||||
|
||||
Reference in New Issue
Block a user