[MIRROR] Fix pAIs Loudness Booster to work properly (#7223)

* Fix pAIs Loudness Booster to work properly (#60498)

Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>

* Fix pAIs Loudness Booster to work properly

Co-authored-by: Tim <timothymtorres@gmail.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-07-29 11:14:22 +01:00
committed by GitHub
co-authored by Mothblocks Tim
parent aef0b35e3c
commit 6ebe68f27c
+1 -1
View File
@@ -40,7 +40,7 @@
ui_interact(user)
/obj/item/instrument/ui_interact(mob/living/user)
if(!isliving(user) || user.stat != CONSCIOUS || HAS_TRAIT(user, TRAIT_HANDS_BLOCKED))
if(!isliving(user) || user.stat != CONSCIOUS || (HAS_TRAIT(user, TRAIT_HANDS_BLOCKED) && !ispAI(user)))
return
user.set_machine(src)