Kaynağa Gözat

Merge pull request #97951 from juanjp600/dotnet-dictionary-debug-view

Fix untyped dictionary .NET debug visualization showing keys as values
Thaddeus Crews 10 ay önce
ebeveyn
işleme
71fe3d96ea

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