Fixes runechat offsets for stored mobs (#94470)

## About The Pull Request

Stored mobs wider than 32 pixels, like worn purple raptors, would have
offset runechat messages because they tried to use their own
base_pixel_w instead of base_pixel_w of the atom that actually displayed
the message

## Changelog
🆑
fix: Fixed runechat offsets for stored mobs
/🆑
This commit is contained in:
SmArtKar
2025-12-17 04:04:54 +01:00
committed by GitHub
parent 5411901aba
commit 7dfef3684b
+1 -1
View File
@@ -270,7 +270,7 @@
message.appearance_flags = APPEARANCE_UI_IGNORE_ALPHA | KEEP_APART
message.alpha = 0
message.pixel_z = starting_height
message.pixel_w = -target.base_pixel_w
message.pixel_w = -message_loc.base_pixel_w
message.maptext_width = CHAT_MESSAGE_WIDTH
message.maptext_height = mheight * 1.25 // We add extra because some characters are superscript, like actions
message.maptext_x = (CHAT_MESSAGE_WIDTH - owner.bound_width) * -0.5