GDExtension: Fix `variant_iter_get()` actually calling `iter_next()`
This commit is contained in:
parent
f333e4acf5
commit
b14f359c94
|
@ -400,7 +400,7 @@ static void gdextension_variant_iter_get(GDExtensionConstVariantPtr p_self, GDEx
|
||||||
Variant *iter = (Variant *)r_iter;
|
Variant *iter = (Variant *)r_iter;
|
||||||
|
|
||||||
bool valid;
|
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;
|
*r_valid = valid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue