(df9b1966f) Added an option to disable directional voice chat. Closes #1414

This commit is contained in:
Joonas Rikkonen
2019-04-10 13:27:30 +03:00
parent 74da38bd10
commit 593d99ec38
11 changed files with 78 additions and 74 deletions
@@ -16,8 +16,6 @@ namespace Barotrauma
Container
}
public bool IsOptional { get; set; }
private string[] identifiers;
private string[] excludedIdentifiers;
@@ -140,8 +138,7 @@ namespace Barotrauma
{
element.Add(
new XAttribute("identifiers", JoinedIdentifiers),
new XAttribute("type", type.ToString()),
new XAttribute("optional", IsOptional));
new XAttribute("type", type.ToString()));
if (excludedIdentifiers.Length > 0)
{