(9d7465a38) New alien item sounds
This commit is contained in:
@@ -462,6 +462,12 @@ namespace Barotrauma
|
||||
Tags = new HashSet<string>(element.GetAttributeStringArray("Tags", new string[0], convertToLowerInvariant: true));
|
||||
}
|
||||
|
||||
Tags = new HashSet<string>(element.GetAttributeStringArray("tags", new string[0], convertToLowerInvariant: true));
|
||||
if (Tags.None())
|
||||
{
|
||||
Tags = new HashSet<string>(element.GetAttributeStringArray("Tags", new string[0], convertToLowerInvariant: true));
|
||||
}
|
||||
|
||||
if (element.Attribute("cargocontainername") != null)
|
||||
{
|
||||
DebugConsole.ThrowError("Error in item prefab \"" + name + "\" - cargo container should be configured using the item's identifier, not the name.");
|
||||
|
||||
Reference in New Issue
Block a user