diff options
author | qarmin <mikrutrafal54@gmail.com> | 2019-07-01 12:59:42 +0200 |
---|---|---|
committer | qarmin <mikrutrafal54@gmail.com> | 2019-07-01 12:59:42 +0200 |
commit | 3c154eb93b3a098354bf6d18a9428826ec193f90 (patch) | |
tree | d9c8c44f13883ceadaefc95953f9cb077137b7c8 /core/variant_op.cpp | |
parent | eaaff9da3178fa515a0f051fda932c1dd04d53db (diff) | |
download | redot-engine-3c154eb93b3a098354bf6d18a9428826ec193f90.tar.gz |
Remove unnecessary code and add some error explanations
Diffstat (limited to 'core/variant_op.cpp')
-rw-r--r-- | core/variant_op.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/variant_op.cpp b/core/variant_op.cpp index f3c9bcaa7e..d677c7776a 100644 --- a/core/variant_op.cpp +++ b/core/variant_op.cpp @@ -2183,7 +2183,8 @@ void Variant::set(const Variant &p_index, const Variant &p_value, bool *r_valid) return; } - return obj->set(p_index, p_value, r_valid); + obj->set(p_index, p_value, r_valid); + return; } } break; case DICTIONARY: { |