Fix runechat height-offset only reading your own offset value (#64507)

#63848 reads owner and not target
This commit is contained in:
ghost sheep
2022-01-29 15:05:47 +00:00
committed by GitHub
parent 4e130e4346
commit f03dd6b8a2
+2 -2
View File
@@ -195,8 +195,8 @@
message.plane = RUNECHAT_PLANE
message.appearance_flags = APPEARANCE_UI_IGNORE_ALPHA | KEEP_APART
message.alpha = 0
message.pixel_y = owner.maptext_height
message.pixel_x = (owner.maptext_width * 0.5) - 16
message.pixel_y = target.maptext_height
message.pixel_x = (target.maptext_width * 0.5) - 16
message.maptext_width = CHAT_MESSAGE_WIDTH
message.maptext_height = mheight
message.maptext_x = (CHAT_MESSAGE_WIDTH - owner.bound_width) * -0.5