diff options
author | Zak Grumbles <zakgrumbles@gmail.com> | 2020-04-01 22:10:12 -0500 |
---|---|---|
committer | Zak Grumbles <zakgrumbles@gmail.com> | 2020-04-01 22:10:12 -0500 |
commit | d648f771197b8900d9efe85bed8709afdef58d83 (patch) | |
tree | 6f710e00073bf22d474adb506231789bec4b3db4 | |
parent | ff14d071ccfdf25b899ab49312ef639da7c71fd6 (diff) | |
download | redot-engine-d648f771197b8900d9efe85bed8709afdef58d83.tar.gz |
Make dict erase node sequenced godotengine#37477
* Updated macro call to make the visual Dictionary Erase node sequenced.
-rw-r--r-- | core/variant_call.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant_call.cpp b/core/variant_call.cpp index db7244a221..fecd507b48 100644 --- a/core/variant_call.cpp +++ b/core/variant_call.cpp @@ -1957,7 +1957,7 @@ void register_variant_methods() { ADDFUNC0NC(DICTIONARY, NIL, Dictionary, clear, varray()); ADDFUNC1R(DICTIONARY, BOOL, Dictionary, has, NIL, "key", varray()); ADDFUNC1R(DICTIONARY, BOOL, Dictionary, has_all, ARRAY, "keys", varray()); - ADDFUNC1R(DICTIONARY, BOOL, Dictionary, erase, NIL, "key", varray()); + ADDFUNC1RNC(DICTIONARY, BOOL, Dictionary, erase, NIL, "key", varray()); ADDFUNC0R(DICTIONARY, INT, Dictionary, hash, varray()); ADDFUNC0R(DICTIONARY, ARRAY, Dictionary, keys, varray()); ADDFUNC0R(DICTIONARY, ARRAY, Dictionary, values, varray()); |