Update obj_defense.dm

This commit is contained in:
silicons
2021-09-19 14:45:24 -07:00
committed by GitHub
parent 5aea7175ea
commit 84a26eeabd
+1 -1
View File
@@ -22,7 +22,7 @@
//returns the damage value of the attack after processing the obj's various armor protections
/obj/proc/run_obj_armor(damage_amount, damage_type, damage_flag = 0, attack_dir, armour_penetration = 0)
if(damage_flag == MELEE && damage_amount < damage_deflection)
if(damage_flag == "melee" && damage_amount < damage_deflection)
return 0
switch(damage_type)
if(BRUTE)