Fixes accent icon text tags not showing up on the radio. (#13861)

This commit is contained in:
Matt Atlas
2022-05-10 22:57:08 +02:00
committed by GitHub
parent 91c5efd33d
commit 869e2cb5e7
3 changed files with 47 additions and 6 deletions
+4 -1
View File
@@ -177,7 +177,10 @@
speaker_name = "Unknown"
var/changed_voice
var/accent_icon
var/accent_icon = speaker.get_accent_icon(language, src)
accent_icon = accent_icon ? accent_icon + " " : ""
part_a = replacetext(part_a, "%ACCENT%", accent_icon)
if(istype(src, /mob/living/silicon/ai) && !hard_to_hear)
var/jobname // the mob's "job"