summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuan Pablo Arce <juanjproT@gmail.com>2024-10-07 16:27:42 -0300
committerJuan Pablo Arce <juanjproT@gmail.com>2024-10-07 16:27:42 -0300
commitc41601fa9c3f71e8537e7d89acebbe723d81b5db (patch)
tree44e0ba644853a64509868c559c11ec09cb6ab860
parente7c39efdb15eaaeb133ed8d0ff0ba0891f8ca676 (diff)
downloadredot-engine-c41601fa9c3f71e8537e7d89acebbe723d81b5db.tar.gz
Fix untyped dictionary .NET debug visualization showing keys as values
-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);