# HG changeset patch # User Adam Kaminski # Date 1631475001 14400 # Sun Sep 12 15:30:01 2021 -0400 # Node ID 29bf9cc657336bd3a28958129a3a9a4d478f0d4c # Parent 0a2e8279a17eb4a3575d32eb939d320beec96efc Hide the name of the server and current game mode from the scoreboard during the intermission screen, for now. diff -r 0a2e8279a17e -r 29bf9cc65733 src/scoreboard.cpp --- a/src/scoreboard.cpp Sun Sep 12 15:05:13 2021 -0400 +++ b/src/scoreboard.cpp Sun Sep 12 15:30:01 2021 -0400 @@ -536,22 +536,22 @@ g_ulCurYPos += BigFont->GetHeight( ) + 6; - // [AK] Draw the name of the server if we're in an online game. - if ( NETWORK_InClientMode( )) - { - FString hostName = sv_hostname.GetGenericRep( CVAR_String ).String; - V_ColorizeString( hostName ); - HUD_DrawTextCentered( SmallFont, CR_GREY, g_ulCurYPos, hostName, g_bScale ); - g_ulCurYPos += SmallFont->GetHeight( ) + 1; - } - - // [AK] Draw the name of the current game mode. - HUD_DrawTextCentered( SmallFont, CR_GOLD, g_ulCurYPos, GAMEMODE_GetCurrentName( ), g_bScale ); - g_ulCurYPos += SmallFont->GetHeight( ) + 1; - - // Draw the time, frags, points, or kills we have left until the level ends. if ( gamestate == GS_LEVEL ) { + // [AK] Draw the name of the server if we're in an online game. + if ( NETWORK_InClientMode( )) + { + FString hostName = sv_hostname.GetGenericRep( CVAR_String ).String; + V_ColorizeString( hostName ); + HUD_DrawTextCentered( SmallFont, CR_GREY, g_ulCurYPos, hostName, g_bScale ); + g_ulCurYPos += SmallFont->GetHeight( ) + 1; + } + + // [AK] Draw the name of the current game mode. + HUD_DrawTextCentered( SmallFont, CR_GOLD, g_ulCurYPos, GAMEMODE_GetCurrentName( ), g_bScale ); + g_ulCurYPos += SmallFont->GetHeight( ) + 1; + + // Draw the time, frags, points, or kills we have left until the level ends. // Generate the limit strings. std::list lines; SCOREBOARD_BuildLimitStrings( lines, true );