From fb902e49f84d9295a5617245077dbd2fbe24436a Mon Sep 17 00:00:00 2001 From: Matt Dunn-Rankin Date: Sat, 2 May 2020 22:39:25 -0700 Subject: [PATCH] default emotion/gp for old outfit URLs --- src/app/useOutfitState.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/useOutfitState.js b/src/app/useOutfitState.js index f48b147..b5d87ec 100644 --- a/src/app/useOutfitState.js +++ b/src/app/useOutfitState.js @@ -110,8 +110,8 @@ function useOutfitState() { name: urlParams.get("name"), speciesId: urlParams.get("species"), colorId: urlParams.get("color"), - emotion: urlParams.get("emotion"), - genderPresentation: urlParams.get("genderPresentation"), + emotion: urlParams.get("emotion") || "HAPPY", + genderPresentation: urlParams.get("genderPresentation") || "FEMININE", wornItemIds: urlParams.getAll("objects[]"), closetedItemIds: urlParams.getAll("closet[]"), });