(57c46943d) Quick fix watchman graphics (not quite right yet, but better). Re-enable the variant 2.

This commit is contained in:
Joonas Rikkonen
2019-05-20 21:00:11 +03:00
parent c936558c7e
commit 7c67b1f164
51 changed files with 751 additions and 403 deletions
@@ -10,6 +10,11 @@ namespace Barotrauma
{
public readonly string Language;
/// <summary>
/// The name of the language in the language this pack is written in
/// </summary>
public readonly string TranslatedName;
private Dictionary<string, List<string>> texts;
private readonly string filePath;
@@ -23,6 +28,7 @@ namespace Barotrauma
if (doc == null || doc.Root == null) return;
Language = doc.Root.GetAttributeString("language", "Unknown");
TranslatedName = doc.Root.GetAttributeString("translatedname", Language);
foreach (XElement subElement in doc.Root.Elements())
{