Skip to content

Commit

Permalink
Refactor PrintQueue function to fix color formatting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
altair-sossai committed Oct 19, 2024
1 parent 2ce628a commit 6878ea8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified addons/sourcemod/plugins/optional/l4d2_queue.smx
Binary file not shown.
4 changes: 2 additions & 2 deletions addons/sourcemod/scripting/l4d2_queue.sp
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,9 @@ void PrintQueue(int target)
}

if (player.priority == 0)
strcopy(color, sizeof(color), "{red}");
else
strcopy(color, sizeof(color), "{olive}");
else
strcopy(color, sizeof(color), "{blue}");

if (position == 1)
FormatEx(output, sizeof(output), "{orange}Fila: %s%dº {default}%N", color, position, client);
Expand Down

0 comments on commit 6878ea8

Please sign in to comment.