(bfd04acda) Fixed compiler error on Mac (I think)?

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:47:58 +03:00
parent 53d78d2a2a
commit a4bb8efa79
12 changed files with 182 additions and 262 deletions
@@ -5,7 +5,6 @@ using System.Collections.Generic;
using System.IO;
using System.Xml.Linq;
using System.Linq;
using Barotrauma.Extensions;
namespace Barotrauma
{
@@ -484,7 +483,7 @@ namespace Barotrauma
}
Tags = new HashSet<string>(element.GetAttributeStringArray("tags", new string[0], convertToLowerInvariant: true));
if (Tags.None())
if (!Tags.Any())
{
Tags = new HashSet<string>(element.GetAttributeStringArray("Tags", new string[0], convertToLowerInvariant: true));
}