Skip to content

Commit

Permalink
Add DarkRed to ChatColors class to follow naming convention (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
B3none authored Jan 9, 2024
1 parent 7b45a88 commit 289f95a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions managed/CounterStrikeSharp.API/Modules/Utils/ChatColors.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class ChatColors
{
public static char Default = '\x01';
public static char White = '\x01';
public static char Darkred = '\x02';
public static char DarkRed = '\x02';
public static char Green = '\x04';
public static char LightYellow = '\x09';
public static char LightBlue = '\x0B';
Expand All @@ -39,4 +39,7 @@ public class ChatColors
public static char Magenta = '\x0E';
public static char LightRed = '\x0F';
public static char Orange = '\x10';
}

[Obsolete("Use ChatColors.DarkRed instead.")]
public static char Darkred = '\x02';
}

0 comments on commit 289f95a

Please sign in to comment.