From 7c19c50ef312475a5fe575328c76d841e63322f8 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Fri, 8 Oct 2021 14:15:10 +0200 Subject: [PATCH] [MIRROR] Adds follow button to families cellphone messages [MDB IGNORE] (#8677) * Adds follow button to families cellphone messages (#61947) Co-authored-by: unknown * Adds follow button to families cellphone messages Co-authored-by: Burgermancoding <79515258+Burgermancoding@users.noreply.github.com> Co-authored-by: unknown --- code/modules/antagonists/gang/cellphone.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/antagonists/gang/cellphone.dm b/code/modules/antagonists/gang/cellphone.dm index 36035133475..12adab9ecb9 100644 --- a/code/modules/antagonists/gang/cellphone.dm +++ b/code/modules/antagonists/gang/cellphone.dm @@ -51,8 +51,9 @@ GLOBAL_LIST_EMPTY(gangster_cell_phones) if(get_dist(player_mob, src) > 7 || player_mob.z != z) //they're out of range of normal hearing if(!(player_mob.client.prefs.chat_toggles & CHAT_GHOSTEARS)) //they're talking normally and we have hearing at any range off continue - to_chat(player_mob, span_gangradio("[speaker.name] \[CELL: [gang_id]\] says, \"[message]\"")) - + var/link = FOLLOW_LINK(player_mob, src) + to_chat(player_mob, span_gangradio("[link] [speaker.name] \[CELL: [gang_id]\] says, \"[message]\"")) + /obj/item/gangster_cellphone/proc/say_message(message, atom/movable/speaker) for(var/mob/living/carbon/human/cellphone_hearer in get_turf(src)) if(HAS_TRAIT(cellphone_hearer, TRAIT_DEAF))