From d648f771197b8900d9efe85bed8709afdef58d83 Mon Sep 17 00:00:00 2001 From: Zak Grumbles Date: Wed, 1 Apr 2020 22:10:12 -0500 Subject: [PATCH] Make dict erase node sequenced godotengine#37477 * Updated macro call to make the visual Dictionary Erase node sequenced. --- core/variant_call.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/variant_call.cpp b/core/variant_call.cpp index db7244a221d..fecd507b487 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());