(18af6c22d) Fixed: On/Off switches not being highlighted in mechanic tutorial

This commit is contained in:
Joonas Rikkonen
2019-05-20 20:17:59 +03:00
parent 1101252ad2
commit 1340780205
10 changed files with 87 additions and 102 deletions
@@ -10,11 +10,6 @@ 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;
@@ -28,7 +23,6 @@ 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())
{