fix: fix wearing assets other than hats by id avatar sandbox
This commit is contained in:
parent
14d9faa484
commit
74488c4d2b
1 changed files with 5 additions and 1 deletions
|
|
@ -271,7 +271,11 @@ async function PageLoad() {
|
|||
if (SelectedType === 'hat') {
|
||||
Avatar.items.push(LoadAsset.previousElementSibling.value);
|
||||
} else {
|
||||
if (!isNaN(LoadAsset.previousElementSibling.value)) {
|
||||
Avatar[SelectedType] = parseInt(LoadAsset.previousElementSibling.value)
|
||||
} else {
|
||||
Avatar[SelectedType] = LoadAsset.previousElementSibling.value
|
||||
}
|
||||
}
|
||||
UpdateAvatar();
|
||||
} else {
|
||||
|
|
|
|||
Reference in a new issue