diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/variant_op.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/variant_op.cpp b/core/variant_op.cpp index 983c3e18bc..bfa69b1fde 100644 --- a/core/variant_op.cpp +++ b/core/variant_op.cpp @@ -3418,12 +3418,14 @@ Variant Variant::iter_get(const Variant &r_iter, bool &r_valid) const { Variant Variant::duplicate(bool deep) const { switch (type) { case OBJECT: { + /* breaks stuff :( if (deep && !_get_obj().ref.is_null()) { Ref<Resource> resource = _get_obj().ref; if (resource.is_valid()) { return resource->duplicate(true); } } + */ return *this; } break; case DICTIONARY: |