Modified particle properties can be saved directly to the config file

This commit is contained in:
Joonas Rikkonen
2017-11-18 14:18:46 +02:00
parent 3a6508648f
commit 903686aed7
3 changed files with 40 additions and 3 deletions
@@ -443,8 +443,8 @@ namespace Barotrauma
break;
}
}
element.Add(new XAttribute(property.Name.ToLowerInvariant(), stringValue));
element.SetAttributeValue(property.Name.ToLowerInvariant(), stringValue);
}
}
}