GDExtension: Fix `variant_iter_get()` actually calling `iter_next()`
(cherry picked from commit b14f359c94
)
This commit is contained in:
parent
9e315e7c79
commit
9a322737cc
|
@ -253,7 +253,7 @@ static void gdextension_variant_iter_get(GDExtensionConstVariantPtr p_self, GDEx
|
|||
Variant *iter = (Variant *)r_iter;
|
||||
|
||||
bool valid;
|
||||
memnew_placement(r_ret, Variant(self->iter_next(*iter, valid)));
|
||||
memnew_placement(r_ret, Variant(self->iter_get(*iter, valid)));
|
||||
*r_valid = valid;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue