Adjust sprite task to not include wheelchair images in the customize-option handling

This commit is contained in:
Blade Barringer
2016-03-24 07:50:05 -05:00
parent 0f9cf57613
commit f33469609c

View File

@@ -127,7 +127,7 @@ function calculateImgDimensions(img, addPadding) {
}
function checkForSpecialTreatment(name) {
let regex = /hair|skin|beard|mustach|shirt|flower|^headAccessory_special_\w+Ears/;
let regex = /^hair|skin|beard|mustach|shirt|flower|^headAccessory_special_\w+Ears/;
return name.match(regex) || name === 'head_0';
}