bitflags not equals

This commit is contained in:
kevinz000
2020-03-16 04:26:19 -07:00
parent 2a9e4bebdd
commit 763c835a53
8 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -329,7 +329,7 @@
attack_verb = list("attacked", "slashed", "stabbed", "sliced", "torn", "ripped", "diced", "cut")
/obj/item/nullrod/claymore/run_block(mob/living/owner, real_attack, atom/object, damage, attack_text, attack_type, armour_penetration, mob/attacker, def_zone, final_block_chance, list/block_return)
if(attack_type == ATTACK_TYPE_PROJECTILE) // Don't bring a sword to a gunfight
if(attack_type & ATTACK_TYPE_PROJECTILE) // Don't bring a sword to a gunfight
return NONE
return ..()