include glitched states for validPetPoses

ahh, in a recent change I made glitched states valid for canonical poses, but didn't make the corresponding change here! This meant that I think the PosePicker showed them, but other ways of getting to them didn't work, including the Candy Acara (who is 100% marked glitched) was no longer pickable at all
This commit is contained in:
Emi Matchu 2020-08-31 17:46:11 -07:00
parent bfb0979801
commit 4a91d0cab8

View file

@ -80,6 +80,6 @@ async function getDistinctPetStates(db) {
SELECT DISTINCT species_id, color_id, mood_id, female, unconverted SELECT DISTINCT species_id, color_id, mood_id, female, unconverted
FROM pet_states FROM pet_states
INNER JOIN pet_types ON pet_types.id = pet_states.pet_type_id INNER JOIN pet_types ON pet_types.id = pet_states.pet_type_id
WHERE glitched IS false AND color_id >= 1`); WHERE color_id >= 1`);
return rows.map(normalizeRow); return rows.map(normalizeRow);
} }