summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuan Pablo Arce <juanjproT@gmail.com>2024-10-07 16:27:42 -0300
committerSpartan322 <Megacake1234@gmail.com>2024-11-01 18:10:51 -0400
commit053820dbe67616a7d774734f0fad9f252b40c5be (patch)
tree5390e29075f4f89385667604934c69846c70ca19
parent9b426095641910f8fb0208d38ac0dc4051756c3d (diff)
downloadredot-engine-053820dbe67616a7d774734f0fad9f252b40c5be.tar.gz
Fix untyped dictionary .NET debug visualization showing keys as values
(cherry picked from commit c41601fa9c3f71e8537e7d89acebbe723d81b5db)
-rw-r--r--modules/mono/glue/GodotSharp/GodotSharp/Core/Dictionary.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Dictionary.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Dictionary.cs
index 864815866a..db6961fd12 100644
--- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Dictionary.cs
+++ b/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);