Browse Source

Fix untyped dictionary .NET debug visualization showing keys as values

Juan Pablo Arce 11 months ago
parent
commit
c41601fa9c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/mono/glue/GodotSharp/GodotSharp/Core/Dictionary.cs

+ 1 - 1
modules/mono/glue/GodotSharp/GodotSharp/Core/Dictionary.cs

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