# HG changeset patch # User Adam Kaminski # Date 1623343565 14400 # Thu Jun 10 12:46:05 2021 -0400 # Node ID 03f47bc878d4fdd5c2fef2621e564d3f4162801b # Parent e838e26732e2f9cbff436ba5a957c8c37a9429f8 Fixed the server name not always being colorized on the scoreboard header. diff -r e838e26732e2 -r 03f47bc878d4 src/scoreboard.cpp --- a/src/scoreboard.cpp Wed Jun 09 14:19:54 2021 -0400 +++ b/src/scoreboard.cpp Thu Jun 10 12:46:05 2021 -0400 @@ -1632,7 +1632,9 @@ // [AK] Draw the name of the server if we're in an online game. if ( NETWORK_InClientMode( )) { - HUD_DrawTextCentered( SmallFont, CR_GREY, g_ulCurYPos, sv_hostname, g_bScale ); + FString hostName = sv_hostname.GetGenericRep( CVAR_String ).String; + V_ColorizeString( hostName ); + HUD_DrawTextCentered( SmallFont, CR_GREY, g_ulCurYPos, hostName, g_bScale ); g_ulCurYPos += 10; }