Merge pull request #8491 from Ghommie/Ghommie-cit24

zero, , null, and empty text strings, all fulfill the ! operator.
This commit is contained in:
kevinz000
2019-06-05 01:52:17 -07:00
committed by GitHub
4 changed files with 9 additions and 15 deletions
@@ -73,7 +73,7 @@
var/mob/living/carbon/human/H = target
var/headarmor = 0 // Target's head armor
armor_block = H.run_armor_check(affecting, "melee","","",armour_penetration) // For normal attack damage
armor_block = H.run_armor_check(affecting, "melee", null, null,armour_penetration) // For normal attack damage
//If they have a hat/helmet and the user is targeting their head.
if(istype(H.head, /obj/item/clothing/head) && affecting == BODY_ZONE_HEAD)