(2a4bd39c2) Merge branch 'dev' into human-ai

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:33:13 +03:00
parent a3db11876b
commit e367f900b8
54 changed files with 1092 additions and 297 deletions
@@ -12,7 +12,9 @@ namespace Barotrauma
private Dictionary<string, List<string>> texts;
private string filePath;
public readonly bool NoWhiteSpace;
private readonly string filePath;
public TextPack(string filePath)
{
@@ -23,6 +25,7 @@ namespace Barotrauma
if (doc == null || doc.Root == null) return;
Language = doc.Root.GetAttributeString("language", "Unknown");
NoWhiteSpace = doc.Root.GetAttributeBool("nowhitespace", false);
foreach (XElement subElement in doc.Root.Elements())
{