diff --git a/csqc/status.qc b/csqc/status.qc index 3a119672..380e14f5 100644 --- a/csqc/status.qc +++ b/csqc/status.qc @@ -612,8 +612,8 @@ void(PanelID panelid, string text) drawNotificationPanel = { alert_text_position.y = ScreenSize.y / 3; alert_text_position.x = (ScreenSize.x / 2) - (size.x / 2); - local string flag_team_str; - local vector menu_text_color; + local string flag_team_str = "the"; + local vector menu_text_color = MENU_TEXT_4; switch(flag_team) { case 1: @@ -632,10 +632,6 @@ void(PanelID panelid, string text) drawNotificationPanel = { flag_team_str = "green's"; menu_text_color = MENU_TEXT_GREEN_FO; break; - default: - flag_team_str = "the"; - menu_text_color = MENU_TEXT_4; - break; } local string alert_text_message = sprintf("You got %s flag!", flag_team_str);