Browse Source

[csharp] Fixed an error in `Skin` where `Skin.setAttachment()` did not work as expected on 3.8 branch (See #1485).

Harald Csaszar 5 years ago
parent
commit
1802f7319a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      spine-csharp/src/Collections/OrderedDictionary.cs

+ 1 - 0
spine-csharp/src/Collections/OrderedDictionary.cs

@@ -277,6 +277,7 @@ namespace Spine.Collections
 			set {
 				int index;
 				if (dictionary.TryGetValue(key, out index)) {
+					keys[index] = key;
 					values[index] = value;
 				}
 				else {