mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 23:58:07 +01:00
[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:
co-authored by
Mothblocks
Tim
parent
aef0b35e3c
commit
6ebe68f27c
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user