summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/variant_op.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant_op.cpp b/core/variant_op.cpp
index feaddb3a3c..eb592871d8 100644
--- a/core/variant_op.cpp
+++ b/core/variant_op.cpp
@@ -1519,7 +1519,7 @@ void Variant::set_named(const StringName &p_index, const Variant &p_value, bool
} break;
default: {
- set(p_index.operator String(), p_value, r_valid);
+ set(p_index.operator String(), p_value, &valid);
} break;
}