From f077de54ae546e588fdf3fff177879fe2227e06a Mon Sep 17 00:00:00 2001 From: Aurorablade Date: Thu, 17 Dec 2015 18:55:39 -0500 Subject: [PATCH] sneaky sneaky guardian fix. --- code/modules/mob/living/simple_animal/guardian/guardian.dm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/simple_animal/guardian/guardian.dm b/code/modules/mob/living/simple_animal/guardian/guardian.dm index 71b0e5a6122..3eb964db6cf 100644 --- a/code/modules/mob/living/simple_animal/guardian/guardian.dm +++ b/code/modules/mob/living/simple_animal/guardian/guardian.dm @@ -129,13 +129,14 @@ var/input = stripped_input(src, "Please enter a message to tell your summoner.", "Guardian", "") if(!input) return + for(var/mob/M in mob_list) if(M == summoner) M << "[src]: [input]" + log_say("Guardian Communication: [key_name(src)] -> [key_name(M)] : [input]") else if (M in dead_mob_list) M << "Guardian Communication from [src] ([ghost_follow_link(src, ghost=M)]): [input]" src << "[src]: [input]" - log_say("Guardian Communication: [src.real_name]/[src.key] : [input]") /mob/living/simple_animal/hostile/guardian/proc/ToggleMode() src << "You dont have another mode!" @@ -153,10 +154,11 @@ var/mob/living/simple_animal/hostile/guardian/G = M if(G.summoner == src) G << "[src]: [input]" + log_say("Guardian Communication: [key_name(src)] -> [key_name(G)] : [input]") + else if (M in dead_mob_list) M << "Guardian Communication from [src] ([ghost_follow_link(src, ghost=M)]): [input]" src << "[src]: [input]" - log_say("Guardian Communication: [src.real_name]/[src.key] : [text]") /mob/living/proc/guardian_recall() set name = "Recall Guardian"