Skip to content

Commit

Permalink
Merge pull request godotengine#97951 from juanjp600/dotnet-dictionary…
Browse files Browse the repository at this point in the history
…-debug-view

Fix untyped dictionary .NET debug visualization showing keys as values
  • Loading branch information
Repiteo committed Oct 8, 2024
2 parents f31a2cc + c41601f commit 71fe3d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mono/glue/GodotSharp/GodotSharp/Core/Dictionary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public ICollection<Variant> Values
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);
Expand Down

0 comments on commit 71fe3d9

Please sign in to comment.