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
@@ -256,7 +256,7 @@
var/obj/item/bodypart/affecting = get_bodypart(ran_zone(M.zone_selected))
if(!affecting)
affecting = get_bodypart(BODY_ZONE_CHEST)
var/armor_block = run_armor_check(affecting, "melee","","",10)
var/armor_block = run_armor_check(affecting, "melee", null, null,10)
playsound(loc, 'sound/weapons/slice.ogg', 25, 1, -1)
visible_message("<span class='danger'>[M] has slashed at [src]!</span>", \