Skip to content

Commit

Permalink
Megaphone patch (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
morrowwolf authored Oct 21, 2023
1 parent 1bd677b commit 4a141af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/datums/langchat/langchat.dm
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@

langchat_image.maptext = text_to_display
langchat_image.maptext_width = LANGCHAT_WIDTH
langchat_image.maptext_x = - world.icon_size - get_pixel_position_x(src, TRUE)

langchat_listeners = listeners
for(var/mob/M in langchat_listeners)
Expand Down Expand Up @@ -148,7 +149,7 @@

langchat_image.maptext = text_to_display
langchat_image.maptext_width = LANGCHAT_WIDTH * 2
langchat_image.maptext_x -= LANGCHAT_WIDTH / 2
langchat_image.maptext_x = - world.icon_size - get_pixel_position_x(src, TRUE) - LANGCHAT_WIDTH / 2

langchat_listeners = listeners
for(var/mob/M in langchat_listeners)
Expand Down

0 comments on commit 4a141af

Please sign in to comment.