Skip to content

Commit

Permalink
headoverlay dont store in outfit
Browse files Browse the repository at this point in the history
  • Loading branch information
SOH69 committed Aug 12, 2024
1 parent 127a2b0 commit ce1c406
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions web/src/stores/appearance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ const OUTFITS_INIT = () => {

const outfit: TOutfitData = {
drawables: appearance.drawables,
props: appearance.props,
headOverlay: appearance.headOverlay,
props: appearance.props
};

SendEvent(Send.saveOutfit, { label, outfit, job }).then((success: boolean) => {
Expand Down Expand Up @@ -109,8 +108,7 @@ const OUTFITS_INIT = () => {
return {
...state,
drawables: outfit.drawables,
props: outfit.props,
headOverlay: outfit.headOverlay,
props: outfit.props
};
});
});
Expand Down
1 change: 0 additions & 1 deletion web/src/typings/apperance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ export type TAppearance = {
}

export type TOutfitData = {
headOverlay: THeadOverlay | TEyeColor
drawables: TDrawables
props: TProps
}
Expand Down

0 comments on commit ce1c406

Please sign in to comment.