Unstable 0.17.4.0
This commit is contained in:
@@ -66,7 +66,7 @@ namespace Barotrauma.Items.Components
|
||||
HasPropertyName = !PropertyName.IsEmpty;
|
||||
IsIntegerInput = HasPropertyName && element.Name.ToString().ToLowerInvariant() == "integerinput";
|
||||
|
||||
if (element.Attribute("signal") is XAttribute attribute)
|
||||
if (element.GetAttribute("signal") is XAttribute attribute)
|
||||
{
|
||||
Signal = attribute.Value;
|
||||
ShouldSetProperty = HasPropertyName;
|
||||
|
||||
Reference in New Issue
Block a user