Only show PDA messages to awake or dead owners (#15194)

* Only show PDA messages to awake people

* Unconcious not concious

Co-authored-by: joep van der velden <15887760+farie82@users.noreply.github.com>
This commit is contained in:
Farie82
2020-12-28 10:38:02 +01:00
committed by GitHub
parent 98ce4aa1a5
commit 62c0e5e038

View File

@@ -33,7 +33,7 @@
else
L = get(pda, /mob/living/silicon)
if(L)
if(L && L.stat != UNCONSCIOUS) // Awake or dead people can see their messages
to_chat(L, "[bicon(pda)] [message]")
SStgui.update_user_uis(L, pda) // Update the receiving user's PDA UI so that they can see the new message