diff --git a/scene/resources/material.cpp b/scene/resources/material.cpp index 898a5944986..12434b39fa6 100644 --- a/scene/resources/material.cpp +++ b/scene/resources/material.cpp @@ -1278,7 +1278,7 @@ void SpatialMaterial::_validate_property(PropertyInfo &property) const { property.usage = 0; } - if (property.name == "proximity_fade_distacne" && !proximity_fade_enabled) { + if (property.name == "proximity_fade_distance" && !proximity_fade_enabled) { property.usage = 0; }