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

This commit is contained in:
Harald Csaszar 2019-12-02 18:01:33 +01:00
parent 237b33d82f
commit 1802f7319a

View File

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