mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-06 15:42:28 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user