Oops, remove alt style when switching species

This wasn't causing big problems because we made resilient little
choices in a lot of little places… but it's confusing as a potential
state, and the Styles chooser wasn't selecting the "Default" option
after you switch—which is what tipped us off!
This commit is contained in:
Emi Matchu 2024-01-30 07:21:14 -08:00
parent c2de6f7167
commit ab8c9f6242

View file

@ -276,6 +276,7 @@ const outfitStateReducer = (apolloClient) => (baseState, action) => {
state.speciesId = action.speciesId; state.speciesId = action.speciesId;
state.colorId = action.colorId; state.colorId = action.colorId;
state.pose = action.pose; state.pose = action.pose;
state.altStyleId = null;
state.appearanceId = null; state.appearanceId = null;
}); });
case "wearItem": case "wearItem":