diff --git a/doc/classes/Object.xml b/doc/classes/Object.xml index eecb3ca525f..ed420f4587d 100644 --- a/doc/classes/Object.xml +++ b/doc/classes/Object.xml @@ -341,7 +341,7 @@ public override void _ValidateProperty(Godot.Collections.Dictionary property) { - if (property["name"].AsStringName() == PropertyName.Number && IsNumberEditable) + if (property["name"].AsStringName() == PropertyName.Number && !IsNumberEditable) { var usage = property["usage"].As<PropertyUsageFlags>() | PropertyUsageFlags.ReadOnly; property["usage"] = (int)usage;