mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-14 02:02:19 +00:00
Adjust sprite task to not include wheelchair images in the customize-option handling
This commit is contained in:
parent
0f9cf57613
commit
f33469609c
1 changed files with 1 additions and 1 deletions
|
|
@ -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';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue