Move the style and state params earlier in the outfit URL
Idk I just think it's nice for them to be next to pose and such!
This commit is contained in:
parent
c60e222faa
commit
453d6783c4
1 changed files with 6 additions and 6 deletions
|
@ -704,12 +704,6 @@ function buildOutfitQueryString(outfitState) {
|
|||
color: colorId || "",
|
||||
pose: pose || "",
|
||||
});
|
||||
for (const itemId of wornItemIds) {
|
||||
params.append("objects[]", itemId);
|
||||
}
|
||||
for (const itemId of closetedItemIds) {
|
||||
params.append("closet[]", itemId);
|
||||
}
|
||||
if (altStyleId != null) {
|
||||
params.append("style", altStyleId);
|
||||
}
|
||||
|
@ -718,6 +712,12 @@ function buildOutfitQueryString(outfitState) {
|
|||
// refers to "PetState", the database table name for pet appearances.
|
||||
params.append("state", appearanceId);
|
||||
}
|
||||
for (const itemId of wornItemIds) {
|
||||
params.append("objects[]", itemId);
|
||||
}
|
||||
for (const itemId of closetedItemIds) {
|
||||
params.append("closet[]", itemId);
|
||||
}
|
||||
|
||||
return params.toString();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue