diff --git a/Subsurface/Source/Properties.cs b/Subsurface/Source/Properties.cs index a5aa106a2..738f83951 100644 --- a/Subsurface/Source/Properties.cs +++ b/Subsurface/Source/Properties.cs @@ -259,11 +259,11 @@ namespace Barotrauma { //only save // - if the attribute is saveable and it's different from the default value - // - or can be changed in the editor + // - or can be changed in-game or in the editor bool save = false; foreach (var attribute in property.Attributes.OfType()) { - if ((!attribute.isSaveable && !attribute.defaultValue.Equals(value)) || + if ((attribute.isSaveable && !attribute.defaultValue.Equals(value)) || property.Attributes.OfType().Any()) { save = true;