Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 21485dc

Browse files
Fixes projectiles bypassing wall damage deflection (#21780)
* Update walls.dm * Update walls.dm
1 parent 3e970e2 commit 21485dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/game/turfs/closed/walls.dm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@
7171
add_dent(WALL_DENT_HIT)
7272

7373
/turf/closed/wall/run_atom_armor(damage_amount, damage_type, damage_flag, attack_dir, armour_penetration)
74-
if(damage_amount < damage_deflection && (damage_type in list(MELEE, BULLET, LASER, ENERGY)))
75-
return 0 // absolutely no bypassing damage deflection by using projectiles
74+
if(damage_amount < damage_deflection && (damage_flag in list(MELEE, BULLET, LASER, ENERGY)))
75+
return 0 // absolutely no bypassing damage deflection by using projectiles FOR REAL THIS TIME
7676
return ..()
7777

7878
/turf/closed/wall/atom_destruction(damage_flag)

0 commit comments

Comments
 (0)