From 2655c9b3411606bf60eea2f0376ddd2d5bb2b3ea Mon Sep 17 00:00:00 2001 From: Ccomp5950 Date: Tue, 11 Feb 2014 01:55:32 -0600 Subject: [PATCH] pAI messenger bugfix. pAI has to be a special little snowflake and have it's own messenger proc instead of letting a AI-PDA handle it. So, updated it with the newest tnote variable functionality so it can participate. --- code/modules/mob/living/silicon/pai/software.dm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/silicon/pai/software.dm b/code/modules/mob/living/silicon/pai/software.dm index 27d557c70cc..6e688c2bdc6 100644 --- a/code/modules/mob/living/silicon/pai/software.dm +++ b/code/modules/mob/living/silicon/pai/software.dm @@ -643,5 +643,12 @@ dat += "" dat += "" dat += "

" - dat += "Messages:
[pda.tnote]" - return dat \ No newline at end of file + for(var/index in pda.tnote) + if(index["sent"]) + dat += addtext("→ To ", index["owner"],":
", index["message"], "
") + else + dat += addtext("← From ", index["owner"],":
", index["message"], "
") + + + + return dat