diff --git a/code/modules/mob/floating_message.dm b/code/modules/mob/floating_message.dm index 12fe2f61a79..0cc155bc25a 100644 --- a/code/modules/mob/floating_message.dm +++ b/code/modules/mob/floating_message.dm @@ -6,7 +6,7 @@ var/list/floating_chat_colors = list() /atom/movable/proc/animate_chat(message, decl/language/language, small, list/show_to, duration) set waitfor = FALSE - + var/style //additional style params for the message var/fontsize = 6 if(small) @@ -35,24 +35,24 @@ var/list/floating_chat_colors = list() else C.images += gibberish -/proc/generate_floating_text(atom/movable/holder, message, style, size, duration, show_to) +/proc/generate_floating_text(atom/movable/holder, message, style, size, duration, show_to) var/image/I = image(null, holder) - I.layer=FLY_LAYER + I.plane = HUD_PLANE + I.layer = HUD_ABOVE_ITEM_LAYER I.alpha = 0 I.maptext_width = 80 I.maptext_height = 64 I.appearance_flags = APPEARANCE_UI_IGNORE_ALPHA - I.plane = EFFECTS_ABOVE_LIGHTING_PLANE I.pixel_x = -round(I.maptext_width/2) + 16 style = "font-family: 'Small Fonts'; -dm-text-outline: 1 black; font-size: [size]px; [style]" I.maptext = "