[MIRROR] Adds follow button to families cellphone messages [MDB IGNORE] (#8677)

* Adds follow button to families cellphone messages (#61947)

Co-authored-by: unknown <burgercoding@ gmail.com>

* Adds follow button to families cellphone messages

Co-authored-by: Burgermancoding <79515258+Burgermancoding@users.noreply.github.com>
Co-authored-by: unknown <burgercoding@ gmail.com>
This commit is contained in:
SkyratBot
2021-10-08 08:15:10 -04:00
committed by GitHub
co-authored by unknown Burgermancoding
parent 33e4d205f5
commit 7c19c50ef3
+3 -2
View File
@@ -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("<b>[speaker.name]</b> \[CELL: [gang_id]\] says, \"[message]\""))
var/link = FOLLOW_LINK(player_mob, src)
to_chat(player_mob, span_gangradio("[link] <b>[speaker.name]</b> \[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))