azerion / phaser-spine

A plugin for Phaser 2 that adds Spine support
MIT License
121 stars 57 forks source link

Typo in spine.SkeletonData.findSlot() #91

Closed Habared closed 6 years ago

Habared commented 6 years ago

There is a typo in spine.SkeletonData.findSlot() @ line 1115 https://github.com/orange-games/phaser-spine/blob/master/build/phaser-spine.js#L1115

if (slots[i].name == slotName) return slot[i];

should be

if (slots[i].name == slotName) return slots[i];