Skip to content

Commit

Permalink
fix spine.setTint
Browse files Browse the repository at this point in the history
  • Loading branch information
AnubisCode committed Sep 12, 2017
1 parent 6d0d90e commit 253ba5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ts/Spine.ts
Expand Up @@ -127,7 +127,7 @@ module PhaserSpine {
for(let i = 0; i < slots.length; i++) {

let slot = slots[i];
slot.currentSprite.tint = tint;
if(slot.currentSprite) slot.currentSprite.tint = tint;

}
}
Expand Down Expand Up @@ -481,4 +481,4 @@ module PhaserSpine {
return newSkin;
}
}
}
}

0 comments on commit 253ba5b

Please sign in to comment.