Adjust sprite task to not include wheelchair images in the customize-option handling
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user