(bcb06cc5c) Unstable v0.9.9.0

This commit is contained in:
Juan Pablo Arce
2020-03-27 15:22:59 -03:00
parent c81486a993
commit b143329701
326 changed files with 9692 additions and 4364 deletions
@@ -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);