Skip to content

Commit 71fe3d9

Browse files
committed
Merge pull request godotengine#97951 from juanjp600/dotnet-dictionary-debug-view
Fix untyped dictionary .NET debug visualization showing keys as values
2 parents f31a2cc + c41601f commit 71fe3d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/mono/glue/GodotSharp/GodotSharp/Core/Dictionary.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public ICollection<Variant> Values
174174
var keys = Array.CreateTakingOwnershipOfDisposableValue(keysArray);
175175

176176
godot_array valuesArray;
177-
NativeFuncs.godotsharp_dictionary_keys(ref self, out valuesArray);
177+
NativeFuncs.godotsharp_dictionary_values(ref self, out valuesArray);
178178
var values = Array.CreateTakingOwnershipOfDisposableValue(valuesArray);
179179

180180
int count = NativeFuncs.godotsharp_dictionary_count(ref self);

0 commit comments

Comments
 (0)