v1.7.7.0 (Winter Update 2024)

This commit is contained in:
Regalis11
2024-12-11 13:26:13 +02:00
parent 7d5b7a310a
commit f6349b2175
256 changed files with 4794 additions and 1653 deletions
@@ -736,9 +736,9 @@ namespace Barotrauma
public static string ElementInnerText(this XElement el)
{
StringBuilder str = new StringBuilder();
foreach (XNode element in el.DescendantNodes().Where(x => x.NodeType == XmlNodeType.Text))
foreach (XText textNode in el.DescendantNodes().OfType<XText>())
{
str.Append(element.ToString());
str.Append(textNode.Value);
}
return str.ToString();
}