Added all smallitems to extra cargo list + removed duplicate entries

This commit is contained in:
juanjp600
2016-10-05 16:57:06 -03:00
parent 41c38575b9
commit 3d8f5070c5
3 changed files with 11 additions and 2 deletions
+3
View File
@@ -277,6 +277,9 @@ namespace Barotrauma
DeconstructItems = new List<DeconstructItem>();
DeconstructTime = 1.0f;
tags = new List<string>();
tags.AddRange(ToolBox.GetAttributeString(element, "tags", "").Split(','));
foreach (XElement subElement in element.Elements())
{
switch (subElement.Name.ToString().ToLowerInvariant())