From 0526e7724f666eece0866965324c4e065c2a78a5 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Wed, 12 Aug 2020 12:30:06 +0200 Subject: [PATCH] [MIRROR] Runechat now shows on the thing the talker is in, rather then on the talker themself (#304) * Changes the object runechat applys to from the thing that said something to the thing sitting on the turf the thing that said something is in (#52738) Changes the object runechat text is overlayed onto from the talker, to the closest thing to the turf the talker is in. This means if someone is talking in a locker, you can see it. Ditto for radios in people's packs. * Runechat now shows on the thing the talker is in, rather then on the talker themself Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> --- code/datums/chatmessage.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/chatmessage.dm b/code/datums/chatmessage.dm index 9e632d66ca5..b11a93a9ae0 100644 --- a/code/datums/chatmessage.dm +++ b/code/datums/chatmessage.dm @@ -129,7 +129,7 @@ approx_lines = max(1, mheight / CHAT_MESSAGE_APPROX_LHEIGHT) // Translate any existing messages upwards, apply exponential decay factors to timers - message_loc = target + message_loc = get_atom_on_turf(target) if (owned_by.seen_messages) var/idx = 1 var/combined_height = approx_lines