Skip to content

Commit

Permalink
Warning go away
Browse files Browse the repository at this point in the history
  • Loading branch information
drzel committed Apr 26, 2024
1 parent 8756237 commit 960ba31
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions csqc/status.qc
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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);
Expand Down

0 comments on commit 960ba31

Please sign in to comment.