mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
[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>
This commit is contained in:
co-authored by
LemonInTheDark
parent
d7369f6fd6
commit
0526e7724f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user