Fix errors

This commit is contained in:
Evil Factory
2022-02-24 14:34:01 -03:00
parent 6340304ae4
commit df55ad1902
2 changed files with 8 additions and 8 deletions
@@ -79,16 +79,16 @@ namespace Barotrauma.Networking
public readonly string SenderName;
private Color? customColor = null;
private Color? customTextColor = null;
public Color Color
{
get
{
if(customColor == null) return MessageColor[(int)Type];
return (Color)customColor;
if(customTextColor == null) return MessageColor[(int)Type];
return (Color)customTextColor;
}
set { customColor = value; }
set { customTextColor = value; }
}
public static string GetTimeStamp()