power fist no longer works when user is pacified (#21293)

This commit is contained in:
Qwertytoforty
2023-06-14 21:02:30 +01:00
committed by GitHub
parent 9e64bdc8b4
commit 15ab9740cd
@@ -83,6 +83,9 @@
/obj/item/melee/powerfist/attack(mob/living/target, mob/living/user)
if(HAS_TRAIT(user, TRAIT_PACIFISM))
to_chat(user, "<span class='warning'>You don't want to harm other living beings!</span>")
return
if(!tank)
to_chat(user, "<span class='warning'>[src] can't operate without a source of gas!</span>")
return