From 6fa871027caab421d31b16d839bb4e523152627e 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. (cherry picked from commit d648f771197b8900d9efe85bed8709afdef58d83) --- 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 f2b9c991033..d8cb6fd6bac 100644 --- a/core/variant_call.cpp +++ b/core/variant_call.cpp @@ -1764,7 +1764,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());