v1.2.6.0 (Winter Update)

This commit is contained in:
Regalis11
2023-12-14 16:11:27 +02:00
parent af8cc89fce
commit b91e85559d
375 changed files with 7771 additions and 2874 deletions
@@ -114,7 +114,7 @@ namespace Barotrauma
self = (T)boxedSelf;
}
public static void TryDeserialize(this object boxedSelf, FieldInfo field, XElement element)
private static void TryDeserialize(this object boxedSelf, FieldInfo field, XElement element)
{
string fieldName = field.Name.ToLowerInvariant();
string valueStr = element.GetAttributeString(fieldName, field.GetValue(boxedSelf)?.ToString() ?? "");