Fix untyped dictionary .NET debug visualization showing keys as values

This commit is contained in:
Juan Pablo Arce 2024-10-07 16:27:42 -03:00
parent e7c39efdb1
commit c41601fa9c

View File

@ -174,7 +174,7 @@ namespace Godot.Collections
var keys = Array.CreateTakingOwnershipOfDisposableValue(keysArray);
godot_array valuesArray;
NativeFuncs.godotsharp_dictionary_keys(ref self, out valuesArray);
NativeFuncs.godotsharp_dictionary_values(ref self, out valuesArray);
var values = Array.CreateTakingOwnershipOfDisposableValue(valuesArray);
int count = NativeFuncs.godotsharp_dictionary_count(ref self);