Skip to content

Commit c41601f

Browse files
committed
Fix untyped dictionary .NET debug visualization showing keys as values
1 parent e7c39ef commit c41601f

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)