Fix untyped dictionary .NET debug visualization showing keys as values

(cherry picked from commit c41601fa9c)
This commit is contained in:
Juan Pablo Arce
2024-10-07 16:27:42 -03:00
committed by Spartan322
parent 9b42609564
commit 053820dbe6

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);