(f0d812055) v0.9.9.0
This commit is contained in:
@@ -570,7 +570,7 @@ namespace Barotrauma
|
||||
{
|
||||
bool hexFailed = true;
|
||||
stringColor = stringColor.Trim();
|
||||
if (stringColor[0]=='#')
|
||||
if (stringColor.Length > 0 && stringColor[0] == '#')
|
||||
{
|
||||
stringColor = stringColor.Substring(1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user