PDA message alerts don't appear for unconscious players (#9449)

This commit is contained in:
mikomyazaki
2020-07-25 14:07:17 +01:00
committed by GitHub
parent 41b3f23f3c
commit f797b207fd
2 changed files with 7 additions and 1 deletions

View File

@@ -1182,7 +1182,7 @@ var/global/list/obj/item/device/pda/PDAs = list()
else
L = get(src, /mob/living/silicon)
if(L)
if(L && L.stat == CONSCIOUS)
if(reception_message)
to_chat(L, reception_message)
SSnanoui.update_user_uis(L, src) // Update the receiving user's PDA UI so that they can see the new message